Next Article in Journal
Posture-Specific Breathing Detection
Previous Article in Journal
Optimal Sensor Formation for 3D Cooperative Localization of AUVs Using Time Difference of Arrival (TDOA) Method
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Accelerometry-Based Distance Estimation for Ambulatory Human Motion Analysis

by
Juan Carlos Alvarez
*,†,
Diego Álvarez
and
Antonio M. López
Multisensor Systems and Robotics Group (SiMuR), Department of Electrical, Electronic, Computer and Systems Engineering, University of Oviedo, C/ Pedro Puig Adam, 33203 Gijón, Spain
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2018, 18(12), 4441; https://doi.org/10.3390/s18124441
Submission received: 13 November 2018 / Revised: 12 December 2018 / Accepted: 13 December 2018 / Published: 15 December 2018
(This article belongs to the Section Physical Sensors)

Abstract

:
In human motion science, accelerometers are used as linear distance sensors by attaching them to moving body parts, with their measurement axes its measurement axis aligned in the direction of motion. When double integrating the raw sensor data, multiple error sources are also integrated integrated as well, producing inaccuracies in the final position estimation which increases fast with the integration time. In this paper, we make a systematic and experimental comparison of different methods for position estimation, with different sensors and in different motion conditions. The objective is to correlate practical factors that appear in real applications, such as motion mean velocity, path length, calibration method, or accelerometer noise level, with the quality of the estimation. The results confirm that it is possible to use accelerometers to estimate short linear displacements of the body with a typical error of around 4.5% in the general conditions tested in this study. However, they also show that the motion kinematic conditions can be a key factor in the performance of this estimation, as the dynamic response of the accelerometer can affect the final results. The study lays out the basis for a better design of distance estimations, which are useful in a wide range of ambulatory human motion monitoring applications.

Graphical Abstract

1. Introduction

Since seminal work by from Morris [1], MEMS accelerometers and gyroscopes have been increasingly used for the real-time measurement of body motion spatio-temporal parameters, due to their low consumption and cost, and their easy connectivity. Specifically, they are the base component for wearable devices that measure linear and/or angular displacements in the human body, e.g., the shank rotation, the stride length, and the pelvis displacement. The stride length is needed, for example, in pedestrian navigation systems [2] or for clinical gait analysis [3]. The pelvis displacement is useful in rehabilitation or prosthetics, as an indicator of the metabolic cost in walking [4], to discriminate left and right steps [5], or to estimate the step length [6,7,8].
Although particularly convenient for real-time applications, these MEMS-based estimations suffer the problem of an unbounded error growth with time [9]. For angular displacements, the problem is usually addressed by the sensor integration of gyroscopes, accelerometers, and magnetic field sensors, by means of Kalman-filtering-like algorithms, forming inertial measurement units (IMU) [10].
However, for linear displacements, there is no unique accepted solution. The basic principle of accelerometers as linear position sensors is straightforward: the measured acceleration is converted to a linear position by doubly integrating the accelerometer data, that is, by adding up a noisy signal coming from a sensor supposedly aligned in a measurement axis. However, error grows too fast with time, making it mandatory to provide some kind of error compensation. Otherwise, the results can be unacceptable for most applications, even if integration is made in short time slots.
The main error source comes from sensor bias and the duration of the integration time. Bias is the difference between the sensor output and the true value and it has multiple origins, both deterministic and stochastic. Deterministic bias sources are those that could be predicted, and possibly corrected by a per device calibration. On the contrary, stochastic bias sources can be considered random and need to be compensated. They are probabilistically modeled, in the form of power spectral density or Allan variance, and they have a variety of origins: velocity random walk (additive white noise), bias instability (flicker noise), quantization noise, sinusoidal errors, rate random walk, and rate ramp [11]. A possible general model of the accelerometry measurement process could be
y ( t ) = S · a ( t ) + ϵ ( T ) + N ( a , T , t ) + e ( t )
y ( t ) being the sensor output, a ( t ) the real acceleration to be measured, S the scale factor, ϵ ( T ) a temperature-dependent bias, N ( a , T , t ) a time-dependent non-linear bias function, and e ( t ) the bias error caused by stochastic sources [12]. If a certain bias in acceleration is integrated, it will produce an error in distance estimation which grows quadratically with the integration time [13]. Then, integration time is a key parameter to consider when studying distance estimation errors.
In spite of the widespread use of this measurement technique in real-time human-motion-related applications, there is a lack of agreement about how to define and compensate its errors. The error-correction methods proposed in the literature are heuristic in nature and do not provide a general design criteria. It is not clear how different error sources behave with integration time [9] or how to evaluate the relative weight of each source in the final results.
In this paper, we aim to shed try to put some light on this problem by making a systematic comparison of different distance estimation methods with different sensors, to check if they are compatible with the demands imposed by ambulatory human motion monitoring applications: accuracy in real-time and robustness to various experimental kinematic conditions.
The presented results confirm that it is possible to use accelerometers to estimate short linear displacements of the body with a 4.5% error in typical conditions. However, it is also shown that the motion conditions, such as mean velocity and acceleration profiles, can be a key factor in the performance of this estimation, as the dynamic response of the accelerometer can affect the results. The study sets out the basis for a systematic design of distance estimations, and it provides a tool to better interpret their results depending on the experimental conditions.
Section 2 will develop the distance estimation problem and its experimental conditions in the context of human motion science. Section 3 will detail the estimation methods selected and the design and conditions of the experiments. The results will be explained in Section 4 and discussed in Section 5. The main conclusions will be synthesized in Section 6.

2. Real-Time Distance Estimation for Cyclic Motion

In human movement science (HMS), most distance estimations of interest are not the result of a free linear motion, but rather they are related to cyclical or periodical motions, such as human walking. For example, the body center of mass moves up (vCOM) and sideways (mlCOM) to its maximum twice each stride in normal gait or the distance traveled by one foot between two consecutive heel strike events, which defines the stride length (SL).
Several distance estimation methods have been proposed in the human movement science literature. In spite of its known limitations, the simple direct cumulative double integration (CMS) method has been applied to estimate the stride length in devices for the ambulatory analysis of gait [14]. We will test this method as a worst-case scenario for distance estimation. Other methods, see Figure 1, try to mitigate the growth of error caused by the direct signal integration, because they are noticeable even within the short time integration periods of interest (0.4–1.6 s).
In Ref. [15], the direct method is slightly modified for both horizontal and vertical motion of the foot, to estimate the step length. Previous to the second integral, a lineal resetting mechanism is applied to the velocity by weighting linearly between 1 and 0 during the integration time (LRI method). This is to ensure that v ( T ) = 0 , a biomechanics property that both foot velocities were supposed to have. The authors claim that the aim of the method is to remove measurement error due to noise and drift.
An integration with mean subtraction (MSI method) is proposed in Ref. [8] to estimate zCOM displacements from COM accelerations, and in Ref. [16] for foot displacements, both in the context of gait analysis. The idea was to remove the non-zero medium value a ¯ s 0 caused by sensor artifacts and uncertainties, prior to the first velocity integration. The mean value of the acceleration between two consecutive integration events (ipso-lateral heel strikes) a ¯ s was subtracted, and a first integration was made to estimate the instantaneous velocity. Notice that forcing the acceleration to have a zero mean value is equivalent to assuming that the velocity is the same at the beginning and the end of the segment, for example, if the motion comes to rest at the end of the period,
v ( t ) = v ( 0 ) + 0 T ( a s ( τ ) a ¯ s ) d τ
a ¯ s being the average acceleration in the segment period, and a ¯ s = 1 T 0 T a s ( τ ) d τ . In Ref. [8], the mean subtraction was applied twice in the particular case where the final position is the same at the beginning and end of the integration period, but this case will not be addressed here.
In Ref. [17], a technique is presented to estimate the stride length by integration of the body antero-posterior (forward) acceleration, measured at the pelvis. It is denominated as the optimally filtered integration (OFI method). To reduce the low frequency acceleration noise, at each gait cycle, the acceleration signal was high-pass-filtered, with a 2nd order Butterworth filter with an f c Hz cut frequency, calculated from data of a given gait cycle with known equal initial and final velocities. After filtering, a first integration produced instantaneous velocity. Taken from Ref. [18], the numerical method chosen to integrate the data was the Cavalieri–Simpson. If the so-estimated final velocity is close to the initial velocity, they are supposed as equal, and a weighted direct and reverse integration is applied, aimed to reduce the time drift in velocity. Notice that this method, contrary to the LRI and MSI methods, did not need a general assumption about the velocity at the end of the integration time, because the authors were dealing with a biomechanics problem (apCOM) with different characteristics.
A different method is proposed in Ref. [19], named de-drifted integration (DDI method). It encompasses the subtraction of a weighted mean function of data samples, previous to each of both integrations. In this case, it was applied to instep foot accelerations during a stride time cycle, with no previous filters, to estimate the stride length. The acceleration drift function was computed by averaging a few initial and final accelerometry samples and by removing a lineal interpolation between both values from the original signal. The size of both sets of samples was empirically selected. The velocity drift function was based on the assumption of zero velocity at the beginning and end of the step, and a lineal function from zero to the mean of the last velocity samples was subtracted from to achieve it.
Other methods have been proposed in human motion analysis for distance estimation that will not be included in this study. In Ref. [3], zCOM and mlCOM displacements are estimated in two steps: (1) filtering the sensor data before the double integration with a low-pass 4th order zero-lag Butterworth filter, at a 20 Hz cut frequency, to remove acceleration noise and (2) filtering the distance estimation after the double integration with a high-pass 4th order zero-lag Butterworth filter, at a 0.1 Hz cut frequency, to remove its long-term time drift. This drift filtering has to be made in longer time intervals (30 s in Ref. [3] or 12–18 s in Ref. [7]). These are useful solutions for off-line data analysis, but not feasible for real-time step-to-step applications.

3. Materials and Methods

To evaluate and compare the estimation methods presented, a set of experiments was designed. Inertial sensors were attached to a robot arm programmed with a set of motions. The robot position was stored synchronized with the sensor readings. The data were processed with all methods, and their results were evaluated against the actual robot displacement, which provided the ground truth.
The robot was a six-degree-of-freedom industrial manipulator IRB-120 from ABB, reaching 580 mm with a maximum payload of 3 kg and a position repeatability of 0.01 mm. It was fixed to a workbench and previously calibrated. This robot provided a worst-case linear trajectory repeatability of 0.07 mm (a nominal maximum load of 3 kg and a linear motion with six axes at 1600 mm/s [20]).
To calculate cyclical displacements in real-time for ambulatory applications, they have to be estimated in one stride or step time period. This time span, or integration time, is very short. For a wide population of 95% of healthy men and women, aged from 13 to 80, the step time in walking can be as long as 0.8 s (a cadence of 75 steps/min), and it can decrease to 0.4 s (cadence of 150 steps/min) when the walking velocity increases [21]. This can occur at free-speed walking velocities in ranges approximately from 0.8 to 1.8 m/s.
Likewise, these parameters are subject to certain kinematic restrictions. For example, the stride length (SL) can be measured from the foot [19] or from the antero-posterior displacement of the body center of mass (apCOM) [17]. The average stride length (or two steps) increases with walking speed, varying in the interval of 94–185 cm for the same wide population and the same walking speed ranges mentioned previously [21]. These motions are made with accelerations around 2–5 g [22]. Likewise, trunk vertical excursion (vCOM) is known to increase with walking velocity, roughly from 2.2 to 6 cm at cadences between 66 to 120 steps/s [23] or step times of 0.5–0.9 s. It is also reasonable to hypothesize that vCOM initial and final positions at every stride are the same, which makes its average velocity zero. Inversely, the COM medio-lateral displacement (mlCOM) decreases with walking velocity, in the range from 8 cm at 66 steps/s to 2.4 cm at 120 steps/s [24]. All these variables affecting the estimation of displacements of interest in HMS are summarized in Table 1, assuming a duration of a gait cycle (step) in the range of 0.4–0.8 s.
From these considerations, it is clear that the problem of MEMS-based distance estimations in human motion science is relevant for integration times from 0.4 s (a fast step time) to 1.6 s (a slow stride time). Within this time rank, motions of interest can be divided into two groups: short range motions of a few centimeters (COM-type) occurring at mean velocities between 1 to 20 cm/s, and large range motions (step-like) with mean velocities ranging between 60 and 230 cm/s. These numbers will be used to define eight experiments covering both types of kinematic conditions. experiments in similar kinematic ranges.
The robot was programmed to make eight types of linear vertical motion in the Cartesian space, which tries to resemble the previously discussed whole scenario of distance estimation in typical human motion applications, summarized in Table 2. A short (4 cm) linear trajectory was executed at increasing speeds {1, 2.5, 5, and 10} cm/s. Similarly, a large (40 cm) trajectory was made with speeds of {10, 25, 50, and 100} cm/s. The short trajectory resembles the conditions of COM-like displacements, and the large trajectory of step-like (half the stride) displacements. Each experiment was repeated 50 times to provide statistical significance. The motion parameters were chosen also to provide the same four integration time scenarios in both trajectories, {4, 1.6, 0.8, and 0.4} s, relevant in the context of biomechanics, as discussed in the previous section. The motion was recorded with margins of 0.05 s before and after it was made, to clearly capture the whole motion, so the effective integration time applied was {4.1, 1.7, 0.9, and 0.5} s. In the case of the fastest motion 100 cm/s (Experiment 8), the integration time was incremented further to 0.625 s forced by the physical limitations of the robot. The Experiments 1 and 4 imply an integration time of τ = 4.1 s, which is outside the scope out of the range of interest of this study. They will be used as a reference, to understand how the conclusions obtained for τ under 2 s extrapolate to larger integration times.
A custom-designed end effector for the robot was used, which allows one to simultaneously test several accelerometer units, see Figure 2. The units were rigidly attached to the end effector and statically calibrated. Individual calibration was performed with the sensor devices attached and at rest, in the middle point of the linear trajectory.
Three different accelerometers were tested simultaneously, and their nominal characteristics are synthesized in Table 3. Their noise density σ c given by the manufacturer was taken as a first indication of the sensor quality. The Accel.XS is part of an MTi IMU device from Xsens® with accelerometers from ADXL206 [25,26]. The Accel.LS is integrated in an IMU unit from Shimmer® with a low-noise analog accelerometer Kionix model KXRB5-2042, which has a better noise performance than the previous model. The Accel.WR is a wide-range accelerometer also included in the previous device, with an LSM303DLHC digital accelerometer from STMicro with the highest nominal noise level of the three [27].
In the three cases, the user can read the raw uncalibrated sensor data with a sampling frequency of f s Hz. However, the setup of the internal signal conditioning, the anti-aliasing filter, and the sampling by the dedicated CPUs are not always available, so it is difficult to know the effective sensor bandwidth f c . In the table, a reference value is given, as suggested by the IMU manufacturers and its corresponding RMS noise density level σ d .
In our experiments, sensor data was recorded at the maximum sampling rate available, f s = 120 or 512 Hz, depending on the device. Once the sensor was fixed to the end effector, an individual static calibration of its orientation was required. This reorientation was made with the TRIAD method, by using the magnetometer data with the robot at rest [28]. The direction of earth gravitational and magnetic fields (global coordinates) were used to compute two measurements { m g , m m } in local coordinates, which were converted to a local triad H L = { u 1 , u 2 , u 3 } by the following process:
u 1 = m g | m g | u 2 = u 1 × m m | u 1 × m m | u 3 = u 1 × u 2
The same process was applied to calculate a global triad H G , and both of them allowed us to compute a re-orientation matrix H G = G R L H L . The gravitational field is much more robust and reliable than the magnetic field to be used as a measurement reference, and, for that reason, the robot moved precisely along the vertical axis, and the raw data was reorientated with matrix G R L . No other data curation is done.
The controlled motion of the robot generated an acceleration profile that is similar in the eight experiments described in Table 2. It started with a short acceleration peak, a long period of zero acceleration corresponding to the constant velocity motion, and an inverse symmetrical peak of deceleration to reach zero velocity again, see Figure 3 Left.
Each of the eight experiments in Table 2 was repeated a number of times M = 50. The M signal segments, sampled with frequency f s , were stored and inspected to find artifacts that can occur if samples are lost during a repetition. This was the case for Accel.LS and Accel.WR when sampling at high frequencies (512 Hz). All the signals were inspected to remove those that were non-useful, leading to the discarding of six and seven in 400 repetitions, respectively.
Each of the valid M blocks formed a data set, each having N samples, accounting for τ = N / f s s, which corresponds to the integration time for the estimations. Within each block, the data were integrated to obtain a linear position with the five distance estimation methods in Table 4. The error in the last sample (Nth sample) ε ( k , N ) was calculated for each block k M . Then, its root mean square error (RMS) ε ¯ ( N ) will be used to evaluate the response:
ε ¯ ( N ) = 1 M k = 1 M ε 2 ( k , N ) .
The complete methodology is represented in Figure 3.

4. Results

4.1. The Effect of Noise in Distance Estimation

A first experiment was conducted in order to evaluate how different methods cope with sensor noise. To do that, acceleration data were taken from stationary sensors with a sampling frequency f s , during 36.95, 37.89, and 50.45 min for each sensor, respectively. Then, data were segmented in groups of fixed time length τ = { 0.1 , 0.2 , 0.4 , 0.8 , 1.6 , 2 , 3 , 4 } s. This generated 554, 568, and 756 data groups for the 4 s integration time, respectively. The same number of independent groups were used for the rest of the integration times. The estimation methods of interest in Table 4 were applied, and the RMS value of the maximum distance observed in the period, ( ε ¯ ( N ) ) in Equation (3), was computed. The results are stored in Appendix A, Table A1. Figure 4 represents these results for each method, with different markers for the three sensors. The lines represent a polynomial interpolation made with four central data corresponding to integration times of T = { 0.2 , 0.4 , 0.8 , 1 . 6 } . The model is a third order cubic polynomial on the square of the RMS value, R M S 2 = a t 3 , as proposed in Ref. [29]. The goodness-of-fit statistics used to evaluate the model is the sum of squares due to error ϵ (mm, in parenthesis).
The increase in the estimation error with the simple double integral or CMS method, Figure 4a, follows the expected pattern of cubic growth with time. This growth is correlated to the sensor noise level stated in their datasheet (Table 3), the XS accelerometer being the one with slowest RMS growth, followed by the LS and lastly the WR sensor. We will denote this sensor’s classification with (XS > LS > WR) C M S r m s (meaning better results respecting the RMS error in the distance estimation with the CMS method).
For large integration times (>2 s), the cubic model of the CMS method underestimates the RMS error for every sensor. For example, with τ = 3 s, the model-predicted error magnitude is 12.6% 22.5%, and 17.1% greater than the experimental for XS, LS, and WR sensors, respectively. However, this result is compatible with the literature, as will be discussed in the following section. The LRI method, Figure 4b, although reducing the error magnitude compared to simple CMS, has a similar qualitative response.
On the contrary, the other three methods in Figure 4 exhibit a more profound modification of the CMS-LRI response to noise, as revealed by a much better model fit and a better prediction of error for large integration times (>2 s). We will refer to the three together as the three main methods (3MM). These methods succeed in their objective of reducing the RMS error growth even for the smallest integration time of t = 0.1 s. Two of them, methods OFI and MSI in Figure 4c, show a very similar quantitative response, their error being less than one-third of the CMS error for 4.1 s of integration time. The error-reduction effect of the DDI method, Figure 4d, is smaller, around half the CMS error for the same 4.1 s mark. The three methods make the Accel.LS sensor behave numerically better than the Accel.XS, a fact which is also reflected in their respective cubic error model. That is, they change the sensor ranking to (LS > XS > WR) 3 M M r m s .

4.2. The Effect of Velocity in Distance Estimation

The five distance estimation methods were applied with the sensors in motion at different velocities, for short distances (4 cm) and larger distances (40 cm), as prescribed in Table 2. The RMS error value was computed and the results are shown in Appendix A, Table A2, Table A3 and Table A4 for the short distance experiments, Experiments 1–4, and in Table A5, Table A6 and Table A7 for the large distance experiments, Experiments 5–8, respectively. To visualize these results, we represent the four data points corresponding to integration times of T = { 0.5 , 0.9 , 1.7 , 4.1 } s, for both short and large range motions, in six diagrams in Figure 5, two for each sensor.
In the case of short range motions, the three data points T = { 0.5 , 0.9 , 1.7 } s for the time frame of interest (up to 2 s) are used to compute a linear interpolation, using a similar third order cubic polynomial model that in the previous section, R M S 2 = a t 3 + b , adding a constant term b that represents the significance of the error even for very small integration times. That term was not meaningful nor necessary in the static sensor experiments. As in the static case, the goodness-of-fit is evaluated with the sum of squares due to error statistic ( ϵ ). The last data point from the experiments (4.1 s) is used to test how the model extrapolates for large integration time data. For large range motions, a simpler linear interpolation model is proposed, R M S = a t + b . We will comment on the meaning and significance of these models in the discussion section.
For the sake of clarity, we will eliminate the CMS and LRI methods from the graphics. The reason is that a mere inspection of the six tables reveals that the simple double integration CMS is clearly inferior to the other methods since it is not designed to limit the error growth. This naive approach to distance estimation produces a greater growth of error with the sensors XS < LS < WR, the same order as in the static case. It is also noticeable that the LRI method gives very bad estimations for all sensors at all integration times.

4.2.1. Distance Estimation with Accel.XS

Starting with the Accel.XS sensor, the results for short range motions (4 cm) in Table A2 are represented in Figure 5a. A smaller RMS error occurs with the OFI method for the three integration times of interest (0.5, 0.9, and 1.7 s), with the greatest percentage error occurring at 1.7 s with values 3.1% (MSI), 2.85% (OFI), and 4.46% (DDI). The cubic interpolation shows a smaller constant value b in the OFI model, suggesting that this method could present a more robust behavior in short integration times. The model adjustment is good for the three methods, slightly better for the DDI method. For larger integration times, T > 2 s, the models predict smaller errors with the MSI method and larger errors with DDI. However, the experiments at T = 4.1 s indicate an outcome similar to the three methods, RMS ≈ 0.47 cm), resulting in large model prediction errors: −57% (MSI), −23% (OFI), and 26% (DDI).
The behavior of the Accel.XS sensor in large range motions (40 cm) in Table A5 is represented in Figure 5b. Again, the OFI method performs the best for short integration times. The greatest percentage error occurs at 1.7 s with similar values for the three methods: 3.61% (MSI), 3.32% (OFI), and 3.49% (DDI). The three models predict a very similar extrapolation value for large integration times (T = 4.1 s), as in fact happens in the experiments, but with an overestimation close to 90%. The RMS error at 4.1 s is even smaller than the error with only 1.7 s of integration, a counterintuitive result that will be discussed in the next section.

4.2.2. Distance Estimation with Accel.LS

The Accel.LS device performs worse than the Accel.XS with the simple CMS method at low velocities (see Table A3). However, as in the case of a stationary sensor, the three main methods make it behave better when used as a distance estimator. The OFI method has better results in two of the three integration times (0.5 and 0.9 s), Figure 5c, with the greatest percentage error occurring at 1.7 s with values of 2.49% (MSI), 2.40% (OFI), and 2.34% (DDI). The cubic interpolation fitness is even better than with the Accel.XS sensor. For larger integration times, where the three methods produce very similar results in the experiments (RMS ≈ 0.21 cm), the model predictions are better than those of the Accel.XS sensor: 5% for MSI, −11% for DDI, and 23% for the OFI method.
The Accel.LS sensor in large range motions (40 cm), Table A6 or Figure 5d, produces results qualitatively similar to the XS device and are better numerically for every method and integration time. The greatest percentage error occurs at 1.7 s with values of 2.74% (MSI), 2.66% (OFI), and 2.75% (DDI). Additionally, the linear model shows a bad adjustment for a large integration time 4.1 s, with the estimation errors similar to those of the three methods (RMS ≈ 1.02 cm), but an overestimation close to 100%.

4.2.3. Distance Estimation with Accel.WR

The Accel.WR device is the lowest cost device of the three tested, with a noise level and a measurement range around four times larger than the previous Accel.LS device. This is confirmed with the simple CMS method in a short distance or with low velocities, Table A4 or Figure 5f, whose RMS errors duplicate those of the previous device. The three main methods reduce RMS levels as expected, presenting almost identical results, with the greatest percentage error occurring at 1.7 s with values of 3.00% (MSI), 2.96% (OFI), and 2.89% (DDI). The cubic model shows a very good adjustment, and the results in T = 4.1 s, which tend to be similar to those of the three methods (RMS ≈ 0.39 cm), present a deviation from the model prediction by 5% (MSI), 9% (OFI), and 5% (DDI).
The estimations for large range or higher speed motions, compiled in Table A7 and represented in Figure 5g, are the worst from the three sensors, for all integration times. Unexpected results occur with the smallest (t = 0.5 s), Experiment 8 at 100 cm/s, which showed a very low RMS value (≈0.2 cm), as well as the following at 50 cm/s, with an abnormally high value (≈2.3 cm). This behavior is independent of the 3MM method applied.
That is, the greatest error occurs at 0.9 s instead of 1.7 s , with values of 5.90% (MSI), 5.94% (OFI), and 5.94% (DDI). At 1.7 s , the error decreases to around 3.6% for all methods. Because of this inconsistency in the error behavior, the linear model fitness is even worse than that with the other two sensors. An explanation for these anomalies will be given in the following section.

5. Discussion

5.1. The Effect of Noise in Distance Estimation

The growth of distance error from an accelerometer at rest can only be explained as the effect of stochastic sources of noise from the sensor. The error caused by noise integration can be considered as a lower bound of distance estimation. This effect has been analyzed thoroughly by Thong et al. [9]. They propose a mathematical model of the growth of the RMS error with integration time T, which depends on three parameters: the sampling frequency f s (or number of samples N = f s T ), the cut frequency of the internal anti-aliasing filter of the device f c , and the sensor noise power spectral density as given approximately by its datasheets σ c 2 . After some simplifications (see Appendix B), the model can be reduced to a cubic polynomy in the square of the RMS error of the estimated distance d:
R M S ( d ) 2 = E [ d 2 ] f ( x ) σ c 2 T 3 = C σ T 3
x = f c f s being the operation point, which depends on the specific election of cut-off and sampling frequencies, and the function f ( x ) :
f ( x ) = π 24 1 + e 2 π x 1 e 2 π x x ,
which represents a correction factor that steps down the sensor analog noise level in the datasheets, σ c 2 , to discrete equivalent C σ , which depends on the operation point. Notice that the Accel.XS sensor has a smaller value of its f ( x ) coefficient than the other two sensors (20% smaller).
The Thong model presented good agreement with experimental data at up to 1 s of integration, and it started to progressively underestimate the positional error with integration time, reaching a 22% error at T = 3.33 s [29]. We reported similar results for the CMS method in Figure 4 a, with the three sensors. The experimentally adjusted model, R M S ( d ) 2 = a t 3 , shows coefficients a = 0.55, 0.94, and 3.95 for each sensor, respectively. These values correlate with their respective digital noise level σ d in Table 3, taking into account the smaller value (20%) of the Accel.XS f ( x ) coefficient.
The results also indicate that the three main methods show a smaller RMS error growth for any tested sensor, as expected. The DDI method is second-class from this point of view, with errors 100% greater.
As far as the model is concerned, the three main methods show an improved prediction capability. For example, for the three second distance estimation mark, the error underestimation with the CMS method was 12,6%, 22.5%, and 17.1% for the three sensors XS, LS, and WR, respectively. These numbers decrease to 6.7%, 14.7%, and 1.9% for the MSI method, 8.2%, 16.8%, and 3.1% for the OFI method, and 7.9%, 2.3%, and 2.1% for the DDI method. That capability could be useful to make model-based corrections of distance estimations in applications needing larger integration times than those addressed in this work.
Another effect found with the three error-reduction methods is to make the Accel.LS perform better than the Accel.XS sensor. What is expected from the standard deviation of the sampled data specification, σ d in Table 3, is a slower RMS growth of the latter, as is the case applying the CMS method. The reason why this tendency is reversed by those methods is not clearly understood. One explanation could be related to the parameter σ d , which comes from applying a bandwidth parameter f c that is not clearly defined. If the real bandwidth were closer for both sensors, the lower analogue standard deviation σ c in the Accel.LS sensor could explain the results, except for the CMS method. The different sampling rate used with both sensors could be the root of this result, but this possibility was discarded with additional experiments.

5.2. The Effect of Motion in Distance Estimation

If for a static sensor its performance as a distance estimator correlates to the sensor quality, as given by its noise level and bandwidth, for a sensor in motion other factors are more relevant. In this work, we defined eight motions, grouped in two sets with integration times (0.5, 0.9, 1.7, and 4.1 s): short distance motion (4 cm) traversed at decreasing average speeds (10, 5, 2.5, and 1 cm/s) and long distance motion (40 cm) traversed at higher speeds (100, 50, 25, and 10 cm/s). The results reveal that distance estimation shows remarkable differences in its qualitative behavior for both groups.

5.2.1. The Case of Short Distances or Low Average Speed Motion

For short distance experiments (4 cm), the CMS method generates a ranking of sensors similar to that one in the static case, (XS > LS > WR) C M S r m s . It might suggest that the XS sensor is, in principle, the best election for short-distance estimation. However, for the three main noise-reduction methods, which presented a very similar response among them, the sensor ranking reorders to (WR > LS > XS) 3 M M r m s for very short integration times (0.5 and 0.9 s), and to (LS > WR > XS) 3 M M r m s for times (1.7 and 4.1 s).
This confusing behavior can be explained considering that the RMS value aggregates two magnitudes: the mean error and the data variance. For most combinations of methods and experiments, the Accel.WR device shows a greater experimental variance than Accel.LS, (LS > WR > XS) 3 M M v a r . However, Accel.WR also exhibits a smaller mean error than the other two sensors in most cases (except at the 4.1 s data point). For short integration times (0.5 and 0.9 s), the variance is not large enough to degrade the better mean error, and it prevails in the final RMS value. From 1.7 s onwards, this is not the case, and both the mean and variance errors are better in the Accel.LS sensor, as is the RMS value. Figure 6 illustrates this combined effect of mean and variance. The same grounds explain the misleading RMS results with the CMS method, whose large mean errors disguise the real variance growth with time, ( L S > W R X S ) C M S v a r .
The conclusion is that the LS sensor is the best election for distance estimation. However, the behavior of the mean error is still it is left to be explained the behaviour of the mean error to be explained, which could make the WR sensor preferable over LS when mean motion velocities are faster (>2.5 cm/s) or integration times are short (<1 s). Notice that these conditions can be frequently met in biomechanics applications related to COM measurements.
The three main methods tend to produce similar estimations for a given sensor. The reason for that is that the DDI method tends to be similar to MSI for long integration times, because the level removal converges to a mean subtraction. The OFI method appears to be slightly better for short integration times, but its complete estimated distance profile is unrealistic, as Figure 7 reveals, calling into question the possible superiority of the method.
Another conclusion is that the cubic model of the RMS growth is only an effective predictor for a larger integration time (4.1 s) in the case of the WR sensor. It is also true with the combination LS sensor/MSI method. How to use this for model-based error reduction is not clear and needs further research.

5.2.2. The Case of Long Distances or High Average Speed Motion

The results for long distance experiments (40 cm) are more troubling. To start, the simple CMS method does not allow a clear classification of the sensors from the RMS error point of view. The pattern of the variance growth is the same as that in short range, ( L S > W R > X S ) a l l v a r . Thus, the RMS differences with the CMS method must come from a more dispersed behavior of the mean error.
The three main methods, which again presented a similar response among them, rank the sensors differently: for 0.5 s integration times the order is (WR > LS > XS) 3 M M r m s , and for times (0.9, 1.7, and 4.1 s) it is (LS > XS > WR) 3 M M r m s . That is, for all cases under 50 cm/s, the LS outperforms the WR sensor as before. Even the XS sensor performs better, because WR is no longer the sensor with the smallest mean error, and the mean value produces (XS > LS > WR) 3 M M a v g .
As a consequence, the possibility that the WR could be preferable is restricted only to Experiment 8 at 100 cm/s. The WR sensor has no saturation problems, but its deceleration peak seems truncated around −10 m/s 2 in both experiments, see Figure 8. The reason for this is not clear, and further research is required. The XS sensor in Experiment 7 shows a large deceleration peak, which could correspond to the 30 Hz filtered real deceleration. In Experiment 8, the peaks are lower, but that can be explained by the fact that, at 100 cm/s, the robot works within its acceleration limits, and the change in velocity takes 0.3 s instead of 0.1 s, greatly reducing the effect of the sensor-limited bandwidth.
Hence, the three sensors registered different motions in the last two experiments (Experiments 7 and 8). A measure of this difference is the mean value of the accelerometer peaks in the experiments, Table 5. For Experiments 1 to 6, the mean peak is similar for LS and WR sensors, and it is downscaled for the XS sensor. This is so because the Accel.XS has a bandwidth of 30 Hz, and the robot’s change in velocity occurs at ≈0.1 s, implying that acceleration has 10 Hz components that are attenuated by its filter. This can explain why the Accel.XS, which has a good performance in static, ranks last in motion-related experiments.
However, in Experiments 7 and 8 the mean deceleration peak is very different for the three devices.
The actual motion profile carried out by the robot was the same for all sensors, so they failed to register the actual acceleration. Under those circumstances, rejecting those two experiments from the point of view of a fair evaluation of methods is unavoidable. The conclusion to be drawn is that the two first data points in Figure 5b,d,f are invalid, so we do not have enough data to build a model to predict errors for larger (>2 s) integration times.
To explain why the model fails in these cases, it is necessary to inspect individual raw signals with detail. The actual robot accelerations in Cartesian space are not easy to obtain, but a first inspection suggests that they can rise over the 2 g limit during the acceleration peak in Experiments 7 and 8, saturating the LS sensor. It is not clear how an MEMS accelerometer reacts to saturation, but in any case the distance estimation results obtained are subject to objections.
For a given sensor, any of the main methods produce similar results, and the same reasoning made in short distances is valid for the preference of DDI or MSI over OFI. Another outcome of this study is that, for integration times under 2 s, the worst-case RMS error stays in a range between 2 and 4% in percentage, always with a longer time 1.7 s. This is true for all main methods and sensors. Therefore, the average speed of the motion is not, in itself, a key factor for distance estimation.

6. Conclusions

The measurement of distances using accelerometers is a functionality that is used in many HMS applications. The context of these measurements is an integration time of less than 2 s, and a movement length of up to 2 m. Even in these restricted conditions, it is advisable that the estimation algorithm incorporates some mechanism to limit the growth of the error, which, being quadratic in nature, deteriorates the estimates even for such small integration times.
In this work, we have compared five methods with three different sensors in controlled experimental conditions, which reflect those found in practice in HMS. We have separated these conditions into two groups: short and long distances. The results obtained are as follows: (1) With the static sensor, the RMS error is related to the quality of the sensor in terms of bandwidth, noise density, and sampling frequency. The algorithms to reduce the error can reduce it by up to one-third. The simple elimination of the mean (MSI method) produces optimal results. The XS and LS sensors have a similar response, better than the WR. (2) With the sensor in motion, the expected error (RMS) in distance estimation is below 4.5% in 1.7 s for both distance ranges, whatever the sensor used. (3) The tested methods produce quite similar results in both groups of experiments. The OFI is sometimes better with low periods of integration, but no general rule can be defined in this respect. (4) The best sensor to estimate distances turns out to be the LS at all distances. For long distances and average velocities over 50 cm/s, the measurements are no longer reliable in all three devices.
The study confirms that it is feasible to use accelerometers to estimate short linear displacements of the body. More than the estimation method applied, the motion kinematic conditions can be a key factor in the performance of this estimation, combined with the type of accelerometer used, and those factors have to be jointly evaluated.

Author Contributions

The authors contributed equally to this work.

Acknowledgments

Several students helped in this work: Daniel Pérez in the sensor noise model, Alfonso Lago building the robot tool, Mélissa Blot in the calibration method, and Leticia González in the experiments. Their interest give us the greatest motivation to deepen into this study.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Numerical Results of the Experiments

Table A1. RMS position error growth (in mm) with integration time.
Table A1. RMS position error growth (in mm) with integration time.
Integration TimeSensorCMSLRIMSIOFIDDI
Accel.XS0.01910.00580.00830.00850.0082
0.1 sAccel.LN0.01480.00500.00620.00620.0122
Accel.WR0.04770.01630.02180.02200.0249
Accel.XS0.05280.01770.02260.02280.0338
0.2 sAccel.LN0.04570.01590.01730.01780.0353
Accel.WR0.13770.05000.06430.06520.0948
Accel.XS0.15340.05430.06420.06500.1187
0.4 sAccel.LN0.15090.05220.04780.04980.1042
Accel.WR0.40110.14870.18410.18740.3367
Accel.XS0.46560.16740.18480.19020.3770
0.8 sAccel.LN0.53380.18280.14420.15410.2929
Accel.WR1.23580.45210.51580.52851.0293
Accel.XS1.50940.54020.50710.52591.1020
1.6 sAccel.LN1.97350.67180.45210.49640.8792
Accel.WR4.03041.44901.45431.51183.3102
Accel.XS2.20980.79240.71220.74171.5532
2.0 sAccel.LN3.01681.02750.66980.74101.2942
Accel.WR5.99782.13882.06532.15754.5433
Accel.XS4.42581.59081.39551.47263.0711
3.0 sAccel.LN6.51852.21931.35881.52902.3091
Accel.WR12.45154.37863.80814.00328.6623
Accel.XS7.35142.62302.16212.28994.5301
4.0 sAccel.LN11.26983.83812.24222.56593.5671
Accel.WR21.26147.38265.91586.320212.9859
Results of the experiments in Table 2: RMS position error growth (cm) with integration time (s) for the five estimation methods.
Table A2. Accel.XS in short distance.
Table A2. Accel.XS in short distance.
CMSLRIMSIOFIDDI
0.50.101.890.110.060.10
0.90.262.050.120.090.11
1.71.102.370.120.110.18
4.16.514.170.470.470.46
Table A3. Accel.LN in short distance.
Table A3. Accel.LN in short distance.
CMSLRIMSIOFIDDI
0.50.081.910.090.070.08
0.90.432.130.090.080.09
1.71.882.660.100.100.09
4.19.935.390.210.210.21
Table A4. Accel.WR in short distance.
Table A4. Accel.WR in short distance.
CMSLRIMSIOFIDDI
0.50.131.920.060.040.05
0.90.732.240.050.050.05
1.73.073.070.120.120.12
4.120.268.960.390.390.38
Table A5. Accel.XS in large distance.
Table A5. Accel.XS in large distance.
CMSLRIMSIOFIDDI
0.51.0418.401.010.880.98
0.92.2518.331.220.821.15
1.72.7019.041.441.331.40
4.15.4321.281.231.171.19
Table A6. Accel.LN in large distance.
Table A6. Accel.LN in large distance.
CMSLRIMSIOFIDDI
0.51.1518.410.640.640.61
0.90.8018.490.690.730.71
1.70.3819.121.091.061.10
4.18.9422.461.031.021.01
Table A7. Accel.WR in large distance.
Table A7. Accel.WR in large distance.
CMSLRIMSIOFIDDI
0.51.6918.320.230.210.25
0.91.2318.402.362.382.38
1.71.6918.471.451.411.44
4.16.9921.202.822.812.80

Appendix B. Model of the Accelerometer Noise Effect in Position Estimation

For a static sensor at rest, N samples are collected with a sampling frequency f s Hz, and the RMS error of the final position estimation S ( N ) is calculated by the square root of its expectation value of the mean, R M S [ S [ N ] ] = E [ ( S [ N ] ) 2 ] . With this setup, the RMS error is given by ([29], Equation (55))
E [ S ( N ) 2 ] =    r [ 0 ] 12 f s 4 ( N 1 ) ( N 2 2 N + 3 ) + A 3 f s 4 S 3 ( N 2 )    A 6 f s 4 ( 3 N 2 6 N + 5 ) S 1 ( N 2 ) +    A 6 f s 4 ( N 1 ) ( N 2 2 N + 3 ) S 0 ( N 2 )
where r [ k ] is the kth lag of the autocorrelation function, which can be written as
r [ k ] = A e ( β k ) , A = π f c σ 2 2 , β = 2 π f c f s
the terms S i ( N 2 ) being the sums of decaying exponentials depending on the number of samples N:
S 0 ( N ) = n = 1 N e x p ( β n ) S 1 ( N ) = n = 1 N n · e x p ( β n ) S 3 ( N ) = n = 1 N n 3 · e x p ( β n ) .
This expression of the RMS error in position estimation is not easy to evaluate. Notice that it depends not only on the integration time but also on the ratio f s / f c . They can be simplified for further analysis.
Firstly, the previous summations of exponentials can be simplified assuming that N > > 1 , and they can be reduced to
S 1 ( N ) = S 0 ( N ) β
S 3 ( N ) = 3 S 0 ( N ) β 3 .
S 0 ( N ) can be directly evaluated as
S 0 ( N ) = e x p ( β ) · ( 1 e x p ( β N ) ) 1 e x p ( β )
leading to the formula
S 1 ( N ) = e x p ( β ) e x p ( β ( N + 1 ) ) N e x p ( β ( N + 1 ) + N e x p ( β ( N + 2 ) ) ) ( e x p ( β ) 1 ) 2 .
The terms e x p ( β N ) with a large enough N will be negligible, as opposed to e x p ( β ) . Bearing this in mind, the approximate sums will remain in the following form:
S 0 e x p ( β ) 1 e x p ( β ) S 1 e x p ( β ) ( e x p ( β ) 1 ) 2 S 3 e x p ( β ) + 4 e x p ( 2 β ) + e x p ( 3 β ) ( e x p ( β ) 1 ) 4 .
Placing these terms in Equation (A1), it can be re-arranged by naming B ( N ) = ( N 1 ) ( N 2 2 N + 3 ) , and grouping in terms, becoming
E [ S ( N ) 2 ] = A 3 f s 4 B ( N ) + 2 B ( N ) S 0 4 + S 3 3 N 2 6 N + 5 2 S 1
making clear that the constant term S 3 can be neglected against the other terms which grow with N, and the expected value of the square error in position becomes
E [ S ( N ) 2 ] = A 6 f s 4 B ( N ) + 2 B ( N ) S 0 2 ( 3 N 2 6 N + 5 ) S 1 .
Including B ( N ) and re-grouping terms leads to
E [ S ( N ) 2 ] = A 6 f s 4 1 + 2 S 0 2 N 3 3 2 ( 1 + 2 S 0 ) + 3 S 1 N 2 + + 5 2 ( 1 + 2 S 0 ) + 6 S 1 N 3 2 ( 1 + 2 S 0 ) + 5 S 1 .
Again, factorial analysis of this expression reveals that the terms in N 2 , the term in N, and the independent term can be neglected, leading finally to
E [ S ( N ) 2 ] A 12 f s 4 ( 1 + 2 S 0 ) N 3 = f ( x ) σ c 2 T 3
where
x = f c f s
f ( x ) = π 24 1 + e x p ( 2 π x ) 1 e x p ( 2 π x ) x .
The function f ( x ) can be understood as a correction factor depending on the operation point, which steps down the sensor analog noise level in the datasheets σ c 2 to a nominal discrete equivalent C σ . This factor approaches the linear relation f ( x ) = π 24 x when f c 2 f s .

References

  1. Morris, J.R.W. Accelerometry—A technique for the measurement of human body movements. J. Biomech. 1973, 6, 729–736. [Google Scholar] [CrossRef]
  2. Cavallo, F.; Sabatini, A.M.; Genovese, V. A step toward GPS/INS personal navigation systems: Real-time assessment of gait by foot inertial sensing. In Proceedings of the 2005 IEEE/RSJ International Conference on Intelligent Robots and Systems, Edmonton, AB, Canada, 2–6 August 2005; pp. 1187–1191. [Google Scholar]
  3. Zijlstra, W.; Hof, A.L. Assessment of spatio-temporal gait parameters from trunk accelerations during human walking. Gait Posture 2003, 18, 1–10. [Google Scholar] [CrossRef] [Green Version]
  4. Weinert-Aplin, R.; Twiste, M.; Jarvis, H.; Bennett, A.; Baker, R. Medial-lateral centre of mass displacement and base of support are equally good predictors of metabolic cost in amputee walking. Gait Posture 2017, 51, 41–46. [Google Scholar] [CrossRef] [PubMed]
  5. Zijlstra, W. Assessment of spatio-temporal parameters during unconstrained walking. Eur. J. Appl. Physiol. 2004, 92, 39–44. [Google Scholar] [CrossRef] [PubMed]
  6. Brandes, M.; Zijlstra, W.; Heikens, S.; van Lummel, R.; Rosenbaum, D. Accelerometry based assessment of gait parameters in children. Gait Posture 2006, 24, 482–486. [Google Scholar] [CrossRef] [PubMed]
  7. Gonzalez, R.C.; Alvarez, D.; López, A.M.; Alvarez, J.C. Ambulatory estimation of mean step length during unconstrained walking by means of COG accelerometry. Comput. Methods Biomech. Biomed. Eng. 2009, 12, 721–726. [Google Scholar] [CrossRef] [PubMed]
  8. Lopez, A.M.; Alvarez, D.; Gonzalez, R.C.; Alvarez, J.C. Validity of four gait models to estimate walked distance from vertical COG acceleration. J. Appl. Biomech. 2008, 24, 360–367. [Google Scholar] [CrossRef] [PubMed]
  9. Thong, Y.K.; Woolfson, M.S.; Crowe, J.A.; Hayes-Gill, B.R.; Challis, R.E. Dependence of inertial measurements of distance on accelerometer noise. Meas. Sci. Technol. 2002, 13, 1163–1172. [Google Scholar] [CrossRef]
  10. Luinge, H.J.; Veltink, P.P.H. Measuring orientation of human body segments using miniature gyroscopes and accelerometers. Med. Biol. Eng. Comput. 2005, 43, 273–282. [Google Scholar] [CrossRef] [PubMed]
  11. IEEE. IEEE Standard Specification Format Guide and Test Procedure for Single-Axis Interferometric Fiber Optic Gyros; IEEE: Piscataway Township, NJ, USA, 1998. [Google Scholar]
  12. Yuksel, Y.; Kaygisiz, H.B. Notes on Stochastic Errors of Low Cost MEMS Inertial Units. 2011. Available online: http://www.instk.org/web/static/bibliography/Introduction_to_Sensor_Errors.pdf (accessed on 5 November 2018).
  13. Woodman, O.J. An Introduction to Inertial Navigation; University of Cambridge: Cambridge, UK, 2007. [Google Scholar]
  14. Bamberg, S.J.M.; Benbasat, A.Y.; Scarborough, D.M.; Krebs, D.E.; Paradiso, J.A. Gait analysis using a shoe-integrated wireless sensor system. IEEE Trans. Inf. Technol. Biomed. 2008, 12, 413–423. [Google Scholar] [CrossRef] [PubMed]
  15. Sabatini, A.M.; Martelloni, C.; Scapellato, S.; Cavallo, F. Assessment of walking features from foot inertial sensing. IEEE Trans. Biomed. Eng. 2005, 52, 486–494. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  16. Alvarez, J.C.; González, R.C.; Alvarez, D.; López, A.M.; Rodríguez-Uría, J. Multisensor approach to walking distance estimation with foot inertial sensing. Conf. Proc. IEEE Eng. Med. Biol. Soc. 2007, 2007, 5720–5723. [Google Scholar] [PubMed]
  17. Köse, A.; Cereatti, A.; Della Croce, U. Bilateral step length estimation using a single inertial measurement unit attached to the pelvis. J. NeuroEng. Rehabil. 2012, 9, 9. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Zok, M.; Mazzà, C.; Della Croce, U. Total body centre of mass displacement estimated using ground reactions during transitory motor tasks: Application to step ascent. Med. Eng. Phys. 2004, 26, 791–798. [Google Scholar] [CrossRef] [PubMed]
  19. Rampp, A.; Barth, J.; Schuelein, S.; Gassmann, K.G.; Klucken, J.; Eskofier, B.M. Inertial Sensor-Based Stride Parameter Calculation From Gait Sequences in Geriatric Patients. IEEE Trans. Biomed. Eng. 2015, 62, 1089–1097. [Google Scholar] [CrossRef] [PubMed]
  20. ABB. Product Manual IRB 120; ABB: Vasteras, Sweden, 2013. [Google Scholar]
  21. Whittle, M.W. Gait Analysis: An Introduction; Butterworth-Heinemann: Oxford, UK, 2014. [Google Scholar]
  22. Kavanagh, J.J.; Menz, H.B. Accelerometry: A technique for quantifying movement patterns during walking. Gait Posture 2008, 28, 1–15. [Google Scholar] [CrossRef] [PubMed]
  23. Gard, S.A.; Miff, S.C.; Kuo, A.D. Comparison of kinematic and kinetic methods for computing the vertical motion of the body center of mass during walking. Hum. Mov. Sci. 2004, 22, 597–610. [Google Scholar] [CrossRef] [PubMed]
  24. Orendurff, M.S.; Segal, A.D.; Klute, G.K.; Berge, J.S.; Rohr, E.S.; Kadel, N.J. The effect of walking speed on center of mass displacement. J. Rehabil. Res. Dev. 2004, 41, 829–834. [Google Scholar] [CrossRef] [PubMed]
  25. Xsens Technologies, B.V. MTi-G User Manual and Technical Documentation; Xsens Technologies B.V.: Enschede, The Netherlands, 2006. [Google Scholar]
  26. Analog Devices, Inc. ADXL202/ADXL210 Low Cost 62 g/610 g Dual Axis iMEMS® Accelerometers with Digital Output Data Sheet (Rev. B); Analog Devices, Inc.: Norwood, MA, USA, 1999. [Google Scholar]
  27. Realtime Technologies Ltd. Shimmer IMU User Guide; Realtime Technologies Ltd.: Dublin, Ireland, 2016; pp. 1–37. [Google Scholar]
  28. Ye, L.; Argha, A.; Celler, B.G.; Nguyen, H.T.; Su, S.W. Online auto-calibration of triaxial accelerometer with time-variant model structures. Sens. Actuators A Phys. 2017, 266, 294–307. [Google Scholar] [CrossRef]
  29. Thong, Y.K.; Woolfson, M.S.; Crowe, J.A.; Hayes-Gill, B.R.; Jones, D.A. Numerical double integration of acceleration measurements in noise. Measurement 2004, 36, 73–92. [Google Scholar] [CrossRef]
Figure 1. Estimation methods compared in this work.
Figure 1. Estimation methods compared in this work.
Sensors 18 04441 g001
Figure 2. (Left) End effector designed to test several sensor units at once. (Right) Robot tool motion and sensor attachment.
Figure 2. (Left) End effector designed to test several sensor units at once. (Right) Robot tool motion and sensor attachment.
Sensors 18 04441 g002
Figure 3. The complete experimental procedure: (Left) the accelerometer signals were segmented and analyzed, and the erroneous one was discarded; (Center) the estimation methods were applied, and the RMS value was computed at the end of the motion; (Right) RMS values were compared for different integration times, sensors, and methods.
Figure 3. The complete experimental procedure: (Left) the accelerometer signals were segmented and analyzed, and the erroneous one was discarded; (Center) the estimation methods were applied, and the RMS value was computed at the end of the motion; (Right) RMS values were compared for different integration times, sensors, and methods.
Sensors 18 04441 g003
Figure 4. Static RMS distance estimation errors for each sensor (markers) and its cubic polynomial model (lines). (a) The CMS method. (b) The LRI method. (c) The MSI and OFI methods. (d) The DDI method. The model fitness is evaluated with statistic ϵ (mm, in parenthesis).
Figure 4. Static RMS distance estimation errors for each sensor (markers) and its cubic polynomial model (lines). (a) The CMS method. (b) The LRI method. (c) The MSI and OFI methods. (d) The DDI method. The model fitness is evaluated with statistic ϵ (mm, in parenthesis).
Sensors 18 04441 g004
Figure 5. RMS position error for the Accel.XS (first row), Accel.LS (second row) and Accel.WR (third row) devices: numerical result of the estimations and interpolated model for small integration times (under 2 s). (Left) Short distance estimations. (Right) Large distance estimations.
Figure 5. RMS position error for the Accel.XS (first row), Accel.LS (second row) and Accel.WR (third row) devices: numerical result of the estimations and interpolated model for small integration times (under 2 s). (Left) Short distance estimations. (Right) Large distance estimations.
Sensors 18 04441 g005
Figure 6. Estimated short range distance profiles for sensors Accel.LS (left) and Accel.WR (right), for the four integration times and the MSI method. For short integration times (0.5 and 0.9 s), a better mean error of Accel.WR masks its greater variance in the final RMS value. Example at 0.9 s: Accel.WR: rms = 0.05 cm, mean = 0.02 cm, var = 0.05 cm; Accel.LS: rms = 0.09 cm, mean = 0.09 cm, var = 0.02 cm.
Figure 6. Estimated short range distance profiles for sensors Accel.LS (left) and Accel.WR (right), for the four integration times and the MSI method. For short integration times (0.5 and 0.9 s), a better mean error of Accel.WR masks its greater variance in the final RMS value. Example at 0.9 s: Accel.WR: rms = 0.05 cm, mean = 0.02 cm, var = 0.05 cm; Accel.LS: rms = 0.09 cm, mean = 0.09 cm, var = 0.02 cm.
Sensors 18 04441 g006
Figure 7. Estimated distance profile using methods MSI (left) and OFI (right) in Experiment 1 and Accel.LS sensor. Although the final RMS are similar in both methods, the distance profile of the OFI method is unrealistic.
Figure 7. Estimated distance profile using methods MSI (left) and OFI (right) in Experiment 1 and Accel.LS sensor. Although the final RMS are similar in both methods, the distance profile of the OFI method is unrealistic.
Sensors 18 04441 g007
Figure 8. Average accelerometry profile of Accel.WR (first row) and Accel.XS (second row), with a band corresponding to two standard deviations. (Left) Experiment 7 at 50 cm/s. (Right) Experiment 8 at 100 cm/s.
Figure 8. Average accelerometry profile of Accel.WR (first row) and Accel.XS (second row), with a band corresponding to two standard deviations. (Left) Experiment 7 at 50 cm/s. (Right) Experiment 8 at 100 cm/s.
Sensors 18 04441 g008
Table 1. Kinematic restrictions of the spatial gait parameters (displacements) of interest.
Table 1. Kinematic restrictions of the spatial gait parameters (displacements) of interest.
Human Motion DisplacementRangeTime RangeAverage Speed
stride length94–185 cm1.6–0.8 s60–230 cm/s
displacement of vCOM2.2–6 cm0.5–0.9 s4.4–12 cm/s
displacement of mlCOM8–2.4 cm0.5–0.9 s2.6–16 cm/s
Table 2. Range of motion conditions for the eight designed experiments: four integration times to measure short and range distances, with increasing average speeds.
Table 2. Range of motion conditions for the eight designed experiments: four integration times to measure short and range distances, with increasing average speeds.
IDDistance D [cm]Speed v [cm/s]Integration Time τ = v / D [s]
0000.4–4
1414
242.51.6
3450.8
44100.4
540104
640251.6
740500.8
8401000.4
Table 3. Accelerometer characteristics from their datasheet.
Table 3. Accelerometer characteristics from their datasheet.
IDModelAnalog NoiseBWDig. NoiseRangeSampling
σ c [ μ g / Hz ] f c [Hz] σ d [ cm / s 2 ][g] f s [Hz]
Accel.XSMTi ADXL206110300.74±5120
Accel.LSKXRB5-2042452000.78±2512
Accel.WRLSM303DLHC2202003.82±8512
Table 4. Methods for distance estimation and correction.
Table 4. Methods for distance estimation and correction.
Method IDIntegration MethodReferenceDistance Range [cm]
CMSCumulativeBamberg [14]stride length (foot)
LRILineal ResetSabatini [15]stride length (foot)
MSIMean subtractionAlvarez [8,16]stride length (foot, vCOM)
OFIOptimally filteredKose [17]stride length (apCOM)
DDIDe-driftedRampp [19]stride length (foot)
Table 5. Acceleration and deceleration average peaks (m/s 2 ) for every experiment and accelerometer.
Table 5. Acceleration and deceleration average peaks (m/s 2 ) for every experiment and accelerometer.
Acc.peakExp. 1Exp. 2Exp. 3Exp. 4Exp. 5Exp. 6Exp. 7Exp. 8
xs m a x 0.58351.14721.79333.05203.64207.989913.009613.0484
xs m i n −0.3011−0.7410−1.3885−2.4647−2.1949−6.5669−15.4089−12.9085
ls m a x 0.98051.64692.26703.34904.00669.144615.601515.5820
ls m i n −0.4294−0.9382−1.5896−2.7457−2.4712−7.9310−13.6501−12.8897
wr m a x 0.99861.68342.34633.29714.05369.124715.578415.5756
wr m i n −0.4785−0.8659−1.5780−2.7507−2.4107−7.9810−10.6316−10.6652

Share and Cite

MDPI and ACS Style

Alvarez, J.C.; Álvarez, D.; López, A.M. Accelerometry-Based Distance Estimation for Ambulatory Human Motion Analysis. Sensors 2018, 18, 4441. https://doi.org/10.3390/s18124441

AMA Style

Alvarez JC, Álvarez D, López AM. Accelerometry-Based Distance Estimation for Ambulatory Human Motion Analysis. Sensors. 2018; 18(12):4441. https://doi.org/10.3390/s18124441

Chicago/Turabian Style

Alvarez, Juan Carlos, Diego Álvarez, and Antonio M. López. 2018. "Accelerometry-Based Distance Estimation for Ambulatory Human Motion Analysis" Sensors 18, no. 12: 4441. https://doi.org/10.3390/s18124441

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