1. Introduction
Walking is a major part of daily living activities and is, therefore, an important aspect of autonomy. Gait analysis of both healthy and impaired individuals gives valuable information about their functional capacity. For stroke patients, for example, the analysis contributes to the selection of proper rehabilitation training [
1,
2]. Centre of pressure (COP) estimation, in addition to various other parameters, is an important step in biomechanical analysis of gait during level walking [
3,
4,
5].
Most commonly, COP is measured using force plates or force sensors embedded in the floor or a walking platform. Gait laboratories are typically equipped with one, two, or three force plates which makes tracking successive steps during walking over multiple steps impossible [
6,
7,
8]. To solve this issue researchers either use sensors which are embedded into instrumented shoes or insoles [
9], or by measuring gait on an instrumented treadmill with force sensors embedded into the treadmill [
10].
Another approach in studying the COP is to estimate it by measuring the kinematics during walking. Winter [
6] has proposed a simple model to calculate the COP from the centre of mass (COM). COM is calculated using a kinematic method. In the kinematic method, accurate anthropometric model and full kinematic description of each segment are required. Audu et al. [
11] have developed a model for estimating ground reaction force (GRF) and COP during standing from kinematic data of the human body segments. Ren et al. [
12] presented a whole-body inverse dynamics model based only on measured kinematics for gait, however, the model was used to predict GRFs and not the COP. A similar method based on the human dynamic model and kinematic measurements of human body segments were recently presented in References [
7,
13]. The method was primarily developed for the estimation of GRFs and joint moments, however, the authors have also estimated the COP under each foot and compared it to the reference COP measured using the force plates.
Artificial neural networks (ANN) are a flexible tool for statistical modelling of nonlinear processes in general, but also in the analysis of gait [
14]. An important feature of ANN is that information is stored in the form of weights, which are set during training using examples (training set of inputs and outputs) from which the ANN networks learn so that the information about the relation between inputs and outputs can be used to predict the outputs given new inputs. Funk et al. [
15] developed a method based on convolutional neural networks to estimate the COP from a video of a subject performing movements. Pose was extracted from the video with corresponding foot pressure maps used to train the neural network. Most commonly, ANNs are used as a calibration function which maps raw sensor data from force or pressure sensors into the estimated COP [
16,
17,
18].
The majority of studies use an optical motion capture system, which is considered a gold standard for gait analysis. However, the recent development of more accurate, stable and smaller IMUs allows the estimation of human body kinematics with satisfactory accuracy [
2,
19]. Compared to optical motion capture systems, which achieve better accuracy, IMUs are low-cost and portable and hence more practical for use in non-laboratory setting [
19,
20]. IMUs are therefore often used for gait analysis. Majority of studies that use IMUs in gait assessment use one or up to 5 units [
20]. Most commonly, IMUs are used for measuring joint angles, spatio-temporal parameters, for detection of gait events, and for classification of different pathological gaits [
2,
3,
20].
1.1. Motivation
The main motivation for this study was to develop a methodology to estimate the COP during walking solely from IMUs. IMU technology was selected as it enables the estimation of the global COP and thus an easy way of detecting the asymmetry in the COP “butterfly” shape [
21,
22], which is relevant for analysis of pathological gait (e.g., stroke patients [
23], amputee patients [
22], patients with Parkinson’s disease [
20], children with Angelman syndrome [
24]). Global COP (sometimes referred also as the gaitogram [
22]) is especially important since it allows to measure not just temporal gait parameters such as stride time, step time, single- and double-support stance durations, but also spatial gait parameters such as step width, step length, single-stance width, single-stance length and stride length [
21,
24,
25]. The spatio-temporal gait characteristics obtained from COP pattern may indicate different information about gait balance, for example, larger step width obtained from the mediolateral COP displacement indicate larger mediolateral stability, while step time and single stance length obtained from the anteroposterior COP displacement determine the duration of loading body weight to the lower extremity. Thus, by obtaining the COP from an instrumented treadmill or estimating it during level walking, a valuable knowledge is given for studying the balance of gait, and can be used for assessment of persons with movement disabilities [
21]. Surprisingly, little amount of research covers the estimation of the COP using IMUs [
4]. Only a small number of studies have been done to estimate the COP from IMUs only [
8]. Studies presented in References [
7,
13] used a dynamic model for the human body to estimate the COP.
1.2. Our Contribution and Aims
The main novelty of our contribution is the development and analysis of the method for estimating the global COP during gait solely from IMUs using statistical modelling. The method has been analysed (a) in terms of accuracy and compared to results from other studies related to estimation of COP, (b) how number and constellation of IMUs affects the accuracy of the estimation of the COP, (c) how the amount of the training data affects the performance of the models, and (d) how the models trained on one set of subjects generalise and transfers to a different subject.
The goal of this study is to demonstrate a method for estimating the COP during level walking from wearable IMUs using end-to-end statistical modelling and to evaluate how well the IMU technology performs with our method. We performed measurements on six subjects wearing IMUs while walking in an instrumented treadmill that recorded the COP. In addition to our measurements, we also make use of a public dataset [
26] of walking kinematics. We restructure the public dataset such that the data is in the same form as our measurements. This way we expanded the number of subjects on which we evaluated our methods in order to provide more support for the results obtained on our dataset.
This paper is organised as follows:
Section 1 introduces the problem of estimating the COP using IMUs, related work, and presents the motivation for the presented study in this paper.
Section 2 describes the experimental protocol and proposed method for end-to-end mapping between the raw IMU signal and the COP during walking.
Section 3 describes the results of experiments in terms of accuracy of the estimated COP compared to the ground truth COP measured using an instrumented treadmill and discusses the impact of reducing the number of used IMUs, how to reduce time spent acquiring training data, and model transferability between different subjects.
Section 4 presents our conclusions and future work.
2. Material and Methods
2.1. Subjects
Four healthy subjects without a known history of neuromuscular or orthopedic problems (3 males, 1 female, age 32 ± 5, height 177 ± 6 cm, mass 75 ± 3 kg) and 2 stroke patients (patient 1: male, age 55, height 178 cm, weight 80 kg, left body-side hemiparesis; patient 2: male, age 35, height 183 cm, weight 80 kg, right body-side hemiparesis; both 3 months after stroke) participated in the study. We have included the patients to introduce the variety in the collected data as they might exhibit different gait to the healthy subjects. Healthy subjects were recruited according to convenience by sampling from the laboratory staff. All participants signed informed consent. This study was approved by the Republic of Slovenia national medical ethics committee and the University rehabilitation institute, Republic of Slovenia ethics committee (80/03/15).
2.2. Instrumentation
The experimental setup consisted of a balance assessment robot with an instrumented treadmill (BART) and a set of 8 wireless IMUs (see
Figure 1). The BART device consists of the instrumented treadmill which measures GRF and COP. Balance assessment robot is a 6 DOF parallel robot which interfaces with the pelvis of the subject. Five of the DOFs (translation of the pelvis in the sagittal, lateral, and vertical directions; pelvic rotation; and pelvic list) are actuated and admittance controlled, while the sixth DOF (pelvic tilt) is passive. Balance assessment robot uses pelvis brace (PB) to tightly embrace the user in pelvis. All subjects wore special belt that accommodates shape of each subject’s pelvis and in this way ensures that subjects were evenly fastened around waist within PB. This guaranties safety of each subject and avoids fall threatening situations. A more detailed description of the BART robot can be found in References [
27,
28]. The robotic device is capable of delivering perturbations in the forward/backward and left/right directions. In this study, we only considered left/right perturbations delivered in the frontal plane. Perturbations in mediolateral direction during walking are considered more challenging than in the anteroposterior direction and active postural control is needed to regulate mediolateral balance [
29].
IMUs were developed in our laboratory for the real-time wireless acquisition of the output of the units. Each unit consists of an InvenSense MPU-9250 MEMS device combining a triaxial gyroscope, a triaxial accelerometer, and a triaxial magnetometer in one module, includes a 32-bit Microprocessor Cortex-M4 central processing unit, DWM1000 RF module based on MAC layer of IEEE 802.15.4-2011 (Ultra-wide Band), and a LiPo battery. Each IMU transmits raw accelerometer, gyroscope and magnetometer outputs wirelessly to a receiver unit at a frequency of 100 Hz with the worst-case transmission delay of 0.5 ms. A more detailed description of the IMU device is given in Reference [
30]. IMU system used in this study has the same or better characteristics as a similar system used and validated in References [
31,
32]. Both systems, the BART device and the IMUs, were synchronised using an external trigger that aligned the start and the end of data recording.
2.3. Experimental Protocol
COP and GRF were measured using the BART device. The BART device also measured the position and orientation of the pelvis. Lower limb and pelvis movements were measured with 8 wireless IMU units. IMU sensors number 2 to 8 were attached to the pelvis, each thigh, shank, and foot. IMU unit number 1 was positioned far from ferromagnetic materials and the BART device.
Figure 2 shows the configuration of IMU units. Coordinate frame of the IMU unit 1 represents the earth reference frame, while IMU unit 2 represents the human body reference frame. Posture in
Figure 2 defines the initial posture.
After each subject was properly fitted with IMUs, the subject stepped on the treadmill and was fixed into the BART device using special pelvis belt (PB) that accommodates the shape according to anthropomorphic characteristics of each subject’s pelvis. This ensured that each subject was evenly fastened around the waist by the PB while also preventing relative movement between the subject’s pelvis and the PB. All subjects were familiar with walking in the BART device and had previously walked in the BART device for at least 10 min.
Each experiment began with 30 s of quiet standing (see
Table 1, experiment step 1). This allowed the collection of baseline data. Afterwards, the subject continued with walking experiments. Walking experiments differed by speed and level of perturbations. In this study perturbations were delivered in mediolateral direction (left/right direction) of the subject. Perturbations that were used were: no perturbation, perturbation in left/right direction with perturbation force of 10% of body weight (BW) and perturbation in left/right direction with perturbation force of 15% of body weight. Perturbation duration was 150 ms. As an example, for subject weighting 75 kg, this resulted in 75 N and 112 N of perturbations. The percentage values used for experiments were based on the results of the previous studies using the BART device [
28]. Two levels of perturbations were used, since they elicit different behavior: (a) perturbation was fully contained during the “in-stance” period for perturbation intensities of 10%, while (b) following a perturbation intensity of 15%, there was medial displacement of COP in the “stepping period” (from approx. 50% to approx. 100% of a gait cycle) that finally contained the instability. There was at least six seconds recovery period between two perturbations that allowed each subject to fully recover from perturbation. Throughout the experiment, each subject was given visual feedback on a laptop screen that in real-time graphically illustrated current pelvis position with respect to the center of available range. When selecting perturbations parameters the goal was to select such perturbation amplitude that would elicit substantial balancing responses while not creating fall threatening situations. Full experimental protocol is given in
Table 1. Experiments concluded with quiet standing for 30 s (see
Table 1, experiment step 9). After each walking experiment step subjects had 1 min of resting period.
For stroke subjects the protocol was adapted: experiments with 15 % level of perturbation and walking speed of 0.8
were omitted. This was done for safety reasons and to prevent the stroke subject from getting overly fatigued. Full measurement protocol for stroke subjects is given in
Table 2.
2.4. Data
2.4.1. Our Dataset
The data we recorded for each of the six subjects consists of:
the Cartesian components of gyroscope, accelerometer, and magnetometer (GAM) raw signals from 8 IMUs measured in each IMU frame,
the COP location in the BART frame,
the centre of subjects’ pelvis coordinates in the BART frame,
and the IMU-BART synchronization signal.
We were interested in the COP coordinates relative to each subject’s position rather than absolute coordinates in the BART frame. Therefore, we transformed the COP coordinates measured in the BART frame into the centre of pelvis frame. Note that the centre of the pelvis is very close to the COM of a human body during walking [
33].
The error in IMU signals due to random fluctuations is about 3%. This was estimated by comparing the size of random fluctuations recorded by the static IMU, which was not attached to either the subjects or BART, with the size of the signals on IMUs attached to the walking subjects.
Measurement characteristics of the BART device are covered in References [
27,
28].
2.4.2. Public Dataset
In addition to our dataset, we also considered a public dataset [
26], which recorded 42 healthy subjects during walking. Their kinematics was measured using markers and a three-dimensional motion-capture system. The forces during walking were collected using an instrumented treadmill, measuring the GRF as well as the COP. The experimental protocol consisted of eight trials of different walking speeds and a single static trial, in total reaching about 4 min of recordings per subject. We consider 33 subjects that completed the full protocol.
Using the marker data we calculated the orientation of each segment following the methodology presented in Reference [
34] in quaternion representation. To calculate orientation of the segment from marker positions three markers are required for each segment. Marker dataset is therefore divided in triplets of markers for each segment. The steps of algorithm are shown in
Figure 3 and explained in caption of the
Figure 3. Next, the quaternions were rotated by fixed rotation so that coordinate frame attached to the segment match relative orientation of the coordinates frames of the IMUs used in our experiment (see
Figure 2). Next, we represented the orientations in the form of GAM triplets. The algorithm for converting representation from quaternion form into GAM representation is shown in
Figure 4. G component is rotational velocity which is calculated by differentiation of the quaternion of the segment [
35], while A and M components are calculated by rotating the earth gravitational and magnetic field vectors by quaternion representing the orientation of the segment. While GAM representation is not common representation, it does not lose any information about the orientation of the segment, since the quaternion representing the orientation of the segment can be calculated from A and M components using
quest algorithm [
36]. We also translated the measured COP in the treadmill frame to the centre of pelvis frame. This way we restructured the data in the public dataset into the same form as our own measurements, that is, GAM values for all three axis with the corresponding COP.
2.5. The IMU-COP Mapping, Aims, and Model Choices
In this paper, we focus on the end-to-end mapping between the raw IMU signal in the form of GAM values (the input) and the COP position (the output) during walking. Therefore, we do not apply any preprocessing of the IMU signals or manually construct deterministic models of the kinematics and dynamics of human walking. We feed the IMU data directly into statistical models that in turn return the COP coordinates. The models are trained by minimizing the mean squared error (MSE) between the predicted and the measured COP using a part of the recorded data (‘train’ data). The predictive performance of models is then evaluated in terms of RMS error on the unseen (‘test’) data.
The COP coordinates can in principle be calculated using the measured IMU signal (after de-biasing and de-noising) using a physical model of the human body, an estimation of body segment masses and moments of inertia, orientations, forces, and a series of coordinate transformations. In statistical modelling, all of this is encoded in parameters or weights of models which are learned empirically from data, resulting in a simpler end-to-end modelling process.
Our guiding principle is modelling simplicity and ease of use of the IMU wearable measurement system. Consequently, we address the following questions:
How does the predictive performance of models depend on the amount of training data used?
We would like to minimise the time subjects or patients need to spend walking in the BART device generating train set data.
How does the predictive performance depend on the number and placement of IMUs?
We would like to find the minimal configuration and optimal placement of IMUs that the subjects need to wear while ensuring that the predictive performance of models does not degrade significantly.
Which type of signal can be discarded without degradation in predictive performance?
We would like to remove some of the magneto-inertial data recorded by IMUs. For example, the magnetic field measurement is very sensitive to changes in the environment, thus removing this data from the model input makes the wearable system more robust.
How transferable are the subject-specific models to other subjects?
We would like to determine how well the models trained on one set of subjects generalises to the unseen data of another set of subjects. The aim is to use the wearable system on new subjects without the extra measurements and calibration in the BART device.
Model Choices and Training
Many statistical models can be used to approximate the IMU-COP mapping: linear models, decision trees, random forests, support vector machines, ANNs of different architectures, and many more.
We choose a linear model as a baseline for modelling the IMU-COP mapping and select a Long Short-Term Memory [
37] artificial neural network (LSTM) out of many possible non-linear models (We implement the models using the
TensorFlow [
38] and
scikit-learn [
39] libraries in
python). LSTM neural networks consist of units (neurons) that are capable of storing sequential values, giving them, for example, the ability to construct integrals and derivatives of input data, which makes them widely used and well suited for time series modelling. For a review of LSTM neural networks see Reference [
40]. The linear model we use is a standard multivariate linear regression of input IMU data on the output COP data, where mean squared error is minimized.
The LSTM neural network we use consists of a single ‘hidden’ layer of 100 LSTM units. For the diagram of the modelling architecture see
Figure 5. We have checked the sizes ranging from 10 to 1000 hidden units and found that above roughly 100 units there was no significant improvement in the predictive performance. Training of the LSTM network was done with the ADAM optimizer [
41] minimizing the mean squared error, with learning rate 0.001 until train error stopped decreasing. The length of memory for the LSTM was limited to the most recent 0.1 s as there was no improvement in predictive performance with longer LSTM memory. We do not consider more elaborate models because we do not focus on finding the best network architectures, choice of hyperparameters, or training methods, as explained in
Section 2.5.
3. Results and Discussion
Signals for the ground truth COP, measured by the BART device, and the estimated COP are shown in
Figure 6.
Figure 6a,b show signals of COP
(anterior) and COP
(lateral) for subject S3.
Figure 6c shows x-y plot of COP signals.
Figure 6c shows a typical example of the “butterfly” pattern of the COP [
21,
42] in the centre of the pelvis frame. This characteristic shape of the COP pattern is called a gaitogram and gives important information about specific gait events and gait characteristics: fore-after symmetry gives information about anterior-posterior foot displacements during the single-support stance phase, while left-right symmetry gives information about weight bearing during single-support stance phase (for more in-depth description and analysis of gaitogram please see References [
21,
23,
43]).
Figure 7 shows examples of gaitograms for all test subjects.
Performance of our models on both our and the public dataset is given in
Table 3 and
Table 4, which gives the intra-subject RMS Error. We train the models on the first 50% of each step of the protocol data and test performance on the last 50%. In general, LSTM performs about 60% better than the linear model.
On our dataset, the lowest RMS error averaged over the subjects (12.3 mm) is obtained using the LSTM and complete raw data from gyroscope, accelerometer and magnetometer. However, removing raw magnetometer data gives marginally worse results by only 7%. Best results with the linear model (subject averaged RMS error of 16.7 mm) are obtained when using all raw sensor data from IMUs and 0.1 s of history (10 samples of history).
Similar conclusions can be drawn for the public dataset. Here, the best result is 10.6 mm on average, also using the LSTM model. The RMS error of the linear model is 13.5 mm. The results on the public dataset are broadly comparable to our dataset. Slightly better results (∼15%) are expected, as the underlying GAM data does not come from IMUs, but from a motion tracking system [
26], which typically achieves better accuracy when estimating segment orientation [
2,
19].
Karatsidis et al. [
7] used a dynamic model to predict the COP using only IMUs and reported the RMS error of 38 mm. Ground truth for COP was obtained using force plates. Jung et al. [
13] developed dynamically adjustable foot-ground contact models for GRF estimation, which also provided COP estimation, and reported RMS error of 17 mm. Ground truth for COP was obtained using force plate-embedded treadmill system. Funk et al. [
15] presented a method for the COP estimation during Tai Chi movements from video frames using ANN. Ground truth was obtained using insole foot pressure measurement sensors. They reported the RMS error of 22–25 mm. Audu et al. [
11] have developed a three-dimensional biomechanical model of human standing which enabled estimation of COP using optical motion tracking system. Ground truth for COP was obtained using force plates. They reported the RMS error of 33 mm during various static poses. References [
7,
11,
13] also report RMS error for anterior COP and lateral COP. In general, both our results and results from literature show that the RMS error is bigger in the anterior direction compared to the lateral direction.
Table 5 summarizes results from literature and our results.
It has been shown that IMU-based systems can in certain circumstances be reliably used instead of camera-based systems for clinical body motion and gait analyses where portability and cost are considered [
19]. Typically, where high accuracy is needed camera-based systems have the advantage of being able to achieve better accuracy. The comparison of RMS errors of References [
7,
13], which used solely IMU data, and References [
11,
15], which used vision-based and optical sensors, shows that IMUs can give comparable results regarding the estimation of the COP. Our methods give comparable and slightly better results compared to References [
7,
11,
13,
15].
An alternative to the presented method using IMU technology to estimate the COP is the use of foot-pressure sensors for measuring the COP. Foot-pressure sensors are also wearable sensors where subjects can walk freely and are not constrained as with force-plates, optical systems, or treadmills. The main reason for basing our method on the IMU technology is that it can estimate the COP relative to the pelvis, while insoles give COP relative to the foot. The presented method allows to estimate the gaitogram, which can further be used to extract spatial gait parameters such as step width, step length, single-stance length, single-stance width and stride length in relation to pelvis position. Timmermans et al. [
44] lists one of the main limitations of the insoles the fact that they can only measure temporal and not spatial gait parameters. Similarly, in several studies [
45,
46,
47], pressure sensors in insoles were used to measure temporal parameters, while IMUs (embedded into insoles) were used to estimate spatial parameters. In two studies performed by Jagos et al. [
45,
46] the IMUs were placed on both feet and studies report difficulties in estimating spatial parameters. Our results show that placement on feet is among the worst positions for estimating the global COP. This shows that insoles are not themselves sufficient for estimating spatial parameters. In some cases a reason to avoid insoles is ergonomical. Some patients use ankle-foot-orthosis resistors, which can complicate the placement of foot-pressure sensors since there might not be enough space due to the orthosis to insert the insoles [
48]. However, our approach can be extended by fusing both IMU data and foot-pressure sensor data to give a better estimation of COP.
Our method using IMU units is not as accurate as an instrumented treadmill. However, it is less expensive and allows subjects to walk freely while providing the same information about COP—a gaitogram. This allows identification of a walking pattern, which is used, for example, in gait rehabilitation in stroke patients. Patients with hemiparesis (as a result of a stroke) almost inevitably experience an asymmetrical gait pattern, which results in a distorted COP “butterfly” pattern.
3.1. Minimizing the Time Spent in the BART Device—Effect of Train Set Size
We study the dependence of model performance on the size of data used to train the models. We sample a given fraction of all data, train models on it, and predict on the rest of the data (The train samples are contiguous blocks of data. Taking contiguous data as opposed to completely randomly sampled data avoids over-optimistic results because the train set data points are not too similar or close to the test data points). The predictive performance depends on the particularities of the data in the train set. For example, taking 60 s of standing data for training the models will result in poorer performance than taking 60 s of walking data. Therefore, the samples are generated multiple times at each train set size. This way the variation in predictive performance given the size of the train set can be estimated.
The results are illustrated in
Figure 8. The RMS error for predicting on unseen data decreases exponentially with the size of the train set. For train set sizes above about 100 s (or about 5% of the whole measurement protocol) the model performance does not improve significantly. Therefore, each phase of the protocol can be shortened considerably, such that the whole measurement takes no longer than a few minutes, as opposed to about half an hour for the current measurement protocol.
3.2. Size and Robustness of the Wearable Measurement Wystem
Walking is highly regular motion and produces regular and periodic signals as measured by each IMU. This means that the IMU signals are strongly correlated when comparing different IMUs or when comparing G, A, M components among themselves. Therefore, removing one or more IMUs from the measurement set-up should not lead to a huge loss of information. Similarly, removing either one or more of GAM components from the input signal should not lead to a large loss of information, and the models should still work well.
Reducing the size of the wearable system by using fewer IMUs contributes to the ease of use and reduces its cost. The magnetic component is most sensitive to environmental disturbances-removing it from the signals measured by IMUs, provided the predictive performance of models does not degrade, contributes to the robustness of the measurement system.
Effect of Reducing the Number of IMUs
We investigate the dependence of the predictive performance of our models on the number and placement of IMUs used. For a given number of IMUs, we test all possible combinations of placing them to locations labelled 2, 3, 4, 5, 6, 7, and 8 as shown in
Figure 2. Since the measurements were made with the full constellation of 7 IMUs, the combination tests are performed by excluding appropriate IMUs from the input data and retraining models on the reduced dataset. There are
possible configuration of IMUs so the exhaustive evaluation of all combinations is not computationally expensive. We record the performance of our models, measured by RMS error, for each configuration of IMUs. The results are presented in
Figure 9 and in
Table 6.
This analysis enables us to determine the order of importance of measuring the magneto-inertial data for different body segments. If only one IMU is used, then the placement from the best to the worst is as follows: back, right thigh, left thigh, left shank, right shank, right foot, left foot. This sequence, corresponding to the leftmost set of points plotted in
Figure 9, is not surprising, as the contributions of individual body segments to the COP are weighted by their mass [
7].
In
Figure 9 we see that there is insignificant gain in model performance above 5 or even only 3 IMUs used in measurements.
Table 6 lists the results for the best and worst locations to place IMUs given the number available, and we can read off that with 3 IMUs the optimal placement is back, and the thighs, whereas with 5 IMUs the optimal placement is on the back, thighs and shanks of the subjects.
A systematic review of gait assessment in Parkinson’s disease using IMUs [
20] reports that the most used setup is with a single sensor, which is most frequently worn on the lower back. Furthermore, the lower back position is the most common position for IMU even where more IMUs are used. Our results show that IMU worn on the lower back is the best placement of IMU if only one IMU is used. Furthermore, IMU on the lower back is present in all best placement configuration, except in configuration where only 2 IMUs are used. In our analysis, the second most important placements are on the thighs which gives the best results when using 2 IMUs. The review in Reference [
20] reports that the next two most common places are on both ankles and both feet. This placement is best for detection of stance and swing events [
2,
3,
19,
49], which are one of the most common features that are used in gait analysis. In contrast, our findings show that the placement on feet is the least favorable placement in terms of accuracy for the COP estimation and that IMUs on feet add least to the improvement of accuracy of the COP estimation. The authors of review [
20] report that they did not find one particular multi-sensor set-up but a wide variety of combinations and that a consensus in this regard is still to be gained in terms of sensor numbers and positions. Authors conclude that placement and multi-sensor set-up would deserve further investigation. Our study and analysis of References [
2,
3,
19,
20,
49] shows that optimal placement depends on particular application and analysis performed.
3.3. Effect of Removing Magnetometer Data from IMU Signal
Magnetometer data measured by IMUs is the most sensitive to the external changes in the environment. If our model predictions depend on this type of signal, they can be easily corrupted by the proximity of metal and magnets, reducing the robustness of our approach. Therefore, we check the performance of models in normal circumstances (i.e., without magnetic disturbances) when magnetometer data is completely removed from the training set. The results are presented in
Table 3. On average there is an increase in the RMS error without the magnetometer data, however, the relative increase is small (5%), suggesting that the magnetic component can be safely discarded without the large change in predictive performance.
3.4. Model Transferability
Constructing models for each subject takes time (the duration of the protocol) and has to be done at the location of the BART device as each subject has to generate enough training data to construct their particular model. After that, the wearable system can be used to deduce the COP position of this subject during walking without the need to use the BART device.
Measured IMU data is a proxy for the kinematics and dynamics of body segments, which, if known in full detail, determine the COP coordinates. Therefore, despite the specificity of each individual’s gait, we expect the models we train on a set of subjects to learn the underlying kinematics and dynamics and thus generalise to other subjects, eliminating the need to use the BART device.
To achieve transferability, we need to train the models such that the more general IMU-COP mapping is learned, resulting in models that work well for any/all subjects. The simplest approach is training a single model on data from multiple subjects. The predictive performance is then evaluated on the data of subjects unseen during training.
The major obstacles to transferability are the different sizes, masses, and moments of inertia of subjects body segments as well as the slightly different placement of IMUs on different subjects. Repeatability of IMU placement is also an issue for measurements on the same subjects but across multiple sessions.
We show that the issue of IMU placement can be alleviated by a short calibration procedure—subjects stand still for a short time while the IMU and COP coordinate data is measured. This data is then used to retrain the general model to make it more subject-specific. The reason the suggested calibration procedure requires the subjects to stand still is that it can be performed on a force plate, without the need to involve the large BART device.
The results for our and the public datasets are presented in
Table 7 and
Table 8. Two cases are presented: (A) case where no target subject data is used and (B) case where 30 s of target subject standing data is used to improve the pre-trained models (for the public dataset we use the data from the static trial). Again, the LSTM network gives better results. For our dataset, in case (A) the average RMS error is 23.7 mm, while in case (B) the RMS error is 18.4 mm. For the public dataset, in case (A) the average RMS error is 21.5 mm, while in case (B) the RMS error is 17.3 mm. Additional training of general LSTM network with 30 s of signals of the target subject improves results of the inter-subject RMS error by about 20%.
3.5. Study Limitations
The majority of wearable IMU systems including ours might suffer from soft tissue artefacts. Soft tissue artefacts are problematic for all type of sensor systems that require the attachment of part of the sensor system to the subjects, including optical systems, which require the attachment of markers. Karatsidis et al. [
7] made a comparison of estimating COP from IMU data and optical motion capture data and has shown that there is only a slight improvement in estimation using optical motion capture system. However, our method makes no assumption about the rigidity of body segments and our models train on raw IMU data. Therefore, the soft tissue effects get to some extent automatically incorporated into our models during learning.
We did not consider all possible statistical models or methods of pre-processing of the input data which might improve the accuracy of the estimated COP. However, this was not the focus of this paper. Similarly, we did not address the issues of dynamic stability or recognition and characterisation of pathological gait, which is our ongoing work stemming from the finding of this contribution.
Our conclusions and statistical ‘significance’ would be stronger if we had a larger number of subjects measured (so far only six). However, we have not observed any large differences among our models of the subjects’ gait. We have also evaluated our method on a public dataset [
26] restructured to resemble our measurements. We obtained comparable results to our own dataset in terms of RMS error. Therefore, we expect that the addition of more subjects to our study would not change the core of our findings and conclusions.
4. Conclusions
We have measured six subjects wearing a constellation of 7 IMUs while walking in an instrumented treadmill. Recorded IMU signals consist of the gyroscope, accelerometer, and magnetometer data whereas the treadmill device records the position of the COP and the centre of the pelvis.
In this paper we propose a novel approach to modelling the mapping between the raw IMU data and the COP coordinates using only statistical models, without regard to the biomechanical modelling of the human body during walking. We consider a linear model as a baseline as well as a non-linear LSTM neural network to identify the dynamic relationships between the raw sensor data from IMUs and the measured COP.
We have found that simple statistical models such as linear regression can accurately predict the location of the COP from raw IMU data to better than 1.7 cm, whereas a simple non-linear LSTM model leads to predictions within 1.2 cm. We also validated our methods on a public dataset containing gait data of 33 subjects and achieved similar performance. Accuracy of the proposed methods was compared to results from related studies showing that our results are comparable and in some cases better. Accuracy was compared to methods based on kinematic and dynamic models of the human body. Applications of these approaches require a certain level of modelling of biomechanics as well as the data on the body segments of the particular subject (masses, dimensions, and COMs). These are subject-dependent and have to be estimated well for correct modelling. In some cases, kinematic/dynamic approaches also require data from many IMU sensors (for example, 17 sensors were used for data collection in Reference [
7]), which might limit the applicability within a real-life context.
In addition to demonstrating the viability of our approach, we have shown that removing sensor data from magnetometers does not reduce the accuracy substantially, implying that data from gyroscopes and accelerometers is sufficient for estimation of the COP during walking using IMUs.
We have shown that the measurement protocol in the treadmill device can be as short as a couple of minutes, compared to half an hour used so far, without significant degradation in our model performance.
Furthermore, this study shows that estimating COP is possible using IMUs attached to various segments of the human body. We analysed various configurations of IMUs, in terms of number and placement of sensors. Analysis has shown that the best placement of IMUs for estimating the COP is different from best placement suggested by literature for estimating gait events. This implies that different types of parameters for analyzing gait might require different placements of sensors for optimal estimation.
We have shown that the models trained on one set of subjects generalises and transfers well to a different set of subjects with slightly lower accuracy compared to models specifically trained for a particular subject. However, we expect that with more recorded data and the use of more sophisticated statistical models the accuracy of generic models can be improved, such that the wearable system can be used without the need to calibrate each subject in the instrumented treadmill.