Next Article in Journal
Asbestos Detection with Fluorescence Microscopy Images and Deep Learning
Next Article in Special Issue
Measurement of Sea Waves
Previous Article in Journal
Spatial Autoregressive Model for Estimation of Visitors’ Dynamic Agglomeration Patterns Near Event Location
Previous Article in Special Issue
Sea Spectral Estimation Using ARMA Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Filtering Biomechanical Signals in Movement Analysis

by
Francesco Crenna
*,
Giovanni Battista Rossi
and
Marta Berardengo
Measurement and Biomechanics Laboratory, Department of Mechanical, Energy, Management and Transportation Engineering, University of Genova, Via Opera Pia 15A, 16145 Genova, Italy
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(13), 4580; https://doi.org/10.3390/s21134580
Submission received: 30 April 2021 / Revised: 25 June 2021 / Accepted: 29 June 2021 / Published: 4 July 2021
(This article belongs to the Special Issue Sensors and Methods for Dynamic Measurement)

Abstract

:
Biomechanical analysis of human movement is based on dynamic measurements of reference points on the subject’s body and orientation measurements of body segments. Collected data include positions’ measurement, in a three-dimensional space. Signal enhancement by proper filtering is often recommended. Velocity and acceleration signal must be obtained from position/angular measurement records, needing numerical processing effort. In this paper, we propose a comparative filtering method study procedure, based on measurement uncertainty related parameters’ set, based upon simulated and experimental signals. The final aim is to propose guidelines to optimize dynamic biomechanical measurement, considering the measurement uncertainty contribution due to the processing method. Performance of the considered methods are examined and compared with an analytical signal, considering both stationary and transient conditions. Finally, four experimental test cases are evaluated at best filtering conditions for measurement uncertainty contributions.

1. Introduction

The biomechanical study of human movement requires a strict integration between experimental data and models to describe motion patterns [1,2]. Moreover, when dealing with physical parameters that cannot be directly measured, a model-based inverse-dynamics problem has to be solved, which requires the measurement of kinematic quantities, including position, velocity and acceleration of reference points, as well as angular displacement and relative derivatives of body limbs.
State-of-the-art measurement systems for kinematic analysis in biomechanics include video or inertial sensors. In the first scenario, a preliminary calibrated video system is used to measure the position in the two or three-dimensional space, according to gesture’s space development (2D measures can fit sufficiently some gestures, while others are intrinsically 3D). The video shows a set of reference markers on the subject corresponding to very evident dots with respect to the background. Experimental signals resulting from the measurements are positions. The second scenario is composed of an inertial measurement unit (IMU), consisting of accelerometers, gyroscopes and magnetometers, placed on the body segment, measuring its orientation in the space. Experimental signals resulting from the measurements are angles. In both scenarios, some noise affects the measurements, mainly due to electronics and processing of the IMU signals, or to illumination, fast movements, camera resolution and focus in the video scenario [3].
To obtain velocities and accelerations from position and angle measurements, a differentiation process and low pass filtering is necessary. Filter selection and setup are critical because noise might affect numerical derivatives [4,5].
For this reason, differentiation procedures and their characterization has been analyzed from several points of view in literature. Regarding specific biomechanics’ application, three frequently used approaches to differentiation can be identified: (1) numerical differentiation followed by low pass filtering, (2) polynomial local approximation and direct differentiation, and (3) optimal Fourier filtering.
As regards the first Approach, several papers available in literature investigating low pass filtering performances [6] by comparing filtering results to standard gait patterns, with and without added noise, or introducing simulated gait patterns as reference [7,8,9]. The effectiveness of such studies is limited by the need to adapt filters’ setup to the specific signal and to the considered derivative order.
The consistency of the polynomial approach with the model and its degrees of freedom is considered by [10,11,12] addressing the effect of differentiation methods on modelling, and on its use in inverse dynamics analysis results. Numerical differentiation methods are compared to an experimental reference signal from a worn accelerometer in [13] introducing an experimental reference signal.
The Fourier approach bases on biomechanical signal spectral content to identify a convenient filter bandwidth. Such approach presents a good performance with the burden of heavier computation. An interesting compromise is discussed in [14,15,16,17] optimizing the spectral reconstruction of the biomechanical signal for successive analytical differentiation.
Polynomial interpolation was increasingly adopted in biomechanics following Savitzky and Golay’s computational efficient procedure [1,18,19]. Such an approach presents the advantage to obtaining the analytical differentiation, point by point, considering the interpolating polynomial. On the other hand, the polynomial filter set up is not straight forward due to nonlinear behavior [20].
It is worth noting that the majority of the papers consider the differentiation problem applied to gait one of the most studied human gesture in biomechanics. Interesting different developments in biomechanical studies include a variety of upper limbs sports gestures including ergonomic studies in human–machine interaction [21] or repeated movements in working activities [22]. A general approach addressing measurement uncertainty contribution due to the differentiation process seems to be appropriate.
Most literature considers rms errors between reference and numerically differentiated signals as differentiation/filtering performance indicators. In order to fulfill constraints of different biomechanical applications, specific performance indicators are required. Rms error, the most common in literature, is a good general indicator applied to the analysis or modelling of an overall, rather slow, gesture such as gait. In sports acceleration, peaks might be essential to characterize or optimize gesture performance, and their values heavily influence the measurement of articular forces and moments through an inverse dynamic model.
The energetic analysis is another aspect to consider, since it can be influenced by differentiation errors. When only short acquisitions are available, border effects might be dominant. Such effects, which are of great importance when using numerical filtering, are rarely analyzed [23,24,25]. Except for Fourier methods, differentiation by filtering is based on a processing window in which borders can show an abnormal behavior, due to the filter action. This may be eliminated when long sequences of a repetitive (periodic) gesture are available, but it highly impacts those cases in which a record of a single gesture is available. In such cases, specific performance indicators are needed to characterize the differentiation/filtering procedure, and a rough indication of the possible differentiation error is indispensable when comparing results from different experiments, or a result from a trial with a normality range.
The purpose of this work is to propose a possible evaluation scheme, to better understand filter performance according to the above limits discussed regarding the existing proposed methods. We consider both signal and its derivatives, by using an analytic reference signal and a set of experimental test cases [26]. The use of an analytical reference signal makes possible the evaluation of measurement uncertainty, giving useful indications on the reliability of the obtained values. Tests cases will cover specific aspects illustrated above.
The set of selected filtering methods will be discussed, critically analyzing their main features. A reference signal, with added random noise, is adopted, where derivatives are analytically computed to become the reference. Performance evaluation will consider both uncertainty on the filtered signal, in terms of signal to noise ratio, and transient performance on signal and its derivatives.
Some practical indications for selecting and defining the most convenient parameters of the filter are supplied when discussing performance criticalities of analyzed cases. As a last step, a few experimental test cases are described as samples of possible application.

2. Materials and Methods

Low pass filtering in biomechanics can be used in both kinematic and kinetic experimental data. In the former case, as already depicted, we can identify two main goals signal to noise ratio improvement and differentiation. In the latter, the main advantage is to reduce noise contribution in force measurements, in order to use such information in inverse kinetics procedures.
In both cases, common cut off frequencies are in the range between 3 and 10 Hz [1] with values around 6 Hz, such as in the biomechanical simulator OpenSim [27,28] default parameters.
In this paper, the cut off frequency is 10 Hz which represents all the considered experimental test cases’ bandwidth and most biomechanics’ applications range.

2.1. Differentiation and Filtering Methods

Numerical differentiation in biomechanics is usually carried out according to the method proposed by Winter and available in [1]. Winter method considers, for each sample, a mean of the finite differences with both previous and following samples. A low pass filtering is added to reduce noise effects. In some cases, before differentiation, a low pass filtering is preliminary applied to improve signal to noise ratio (SNR). Several low pass filtering methods are available in literature, in the following we will focus on:
  • Moving average (MA) filter: it is a window-based filter which is a good introduction for polynomial filters;
  • Butterworth zero phase (BZP) low pass filter: one of the most used in biomechanics, proposed by Winter in [1] and analyzed in [29];
  • Savitsky–Golay polynomial filters [18]: very commonly used in biomechanics.
Let us the briefly introduce and discuss these three methods.

2.1.1. Moving Average (MA) Filters

Although its frequency response is not as performing as for other filter types, this filtering method is amply used thanks to its intuitive behavior. It is based on an average window, whose time duration determines its bandwidth, and the consequent number of points to be averaged is determined by the sampling frequency. When short windows are involved, together with slow sampling rates, the limitation associated with the minimum number of three points, becomes critical.
The window is usually based on an odd number of samples: 2M + 1, with M positive integer, causing a transient behavior when the filter is applied to signal record’s extremities, affecting M samples after start and before the end. Such effects are particularly evident when dealing with derivatives. Special smoothing windows, such as Hanning, might be used to obtain a weighted moving average filter, smoothing transient effects but altering filter bandwidth. In the following we will consider a window length, for the MA filter, with cutoff frequency at 10 Hz.

2.1.2. Linear Filter

Among linear filters, the Butterworth filter is very common in filtering biomechanical signals [1,2,30,31]. After a proper design to obtain the desired cut off frequency, the filtering is generally applied two times, in forward and reverse directions on the signal time history, to obtain a zero-phase filter.
In the following, we will consider a second order 10 Hz cut off Butterworth filter, applied two times to the time series, obtaining a frequency response of fourth order. The Fourth order is typical for biomechanical application as depicted in [1].
As in the previous case, linear filtering presents a transient behavior dependent on filter set up.

2.1.3. Polynomial Filter

Savitzky–Golay, SG, is a polynomial filter, whose parameters are determined by least square procedure, on a window of points centered on the point of interest [30,31,32,33,34,35]. The filter set up requires specification of the polynomial order and of the number of points in the window. This filter is similar to the MA filter, since it uses a zero-th order polynomial, or average, fitted on a moving set of samples as defined by window length. However, SG has a nonlinear behavior, since it operates at higher orders, so bandwidth analysis and filter set up is not trivial. Cut off frequency depends on both order and window length and the same bandwidth can be achieved with different combinations, highly affecting transition band behavior. A SG filter introduction, giving useful frequency cut off and bandwidth indications is available in [20].
The main advantage of this method, from the point of view of biomechanical motion analysis, is that once polynomial coefficients have been determined in a point, the signal derivatives are obtained by analytical derivation, therefore, avoiding numerical derivative procedures. This advantage often overcomes the difficulties in setting up a proper filter for noise reduction. We have selected a fourth order SG filter, as widely used in biomechanics, and to determine the proper window length we used reference [20]. Form this reference it is possible to identify an empirical relationship between order, window length and cut off frequency. We are interested in obtaining the same MA and BZP cut off frequency, by using a fourth order SG filter, so we are constrained to window length selection. To this purpose we have considered data in [20], using both graphical presentations and tables, to reconstruct the cut off frequency to window length empirical relation depicted in Figure 1.
The curve near 10 Hz is rather flat including different possible lengths, some preliminary tests were necessary to verify filter bandwidth considering amplitude reduction. We have tested windows of 15–17-and 19 samples (7–8 and 9 samples on Figure 1) to identify the 17 points window, as the nearest to the 10 Hz cut off.

2.2. Reference Analytical Signals

In order to compare filters performance on signal and its derivatives, we need a reference analytical signal. We propose here to consider a pure harmonic signal, X a ( t ) ,   defined considering frequencies involved in some typical biomechanical investigations, such as gait and hopping analysis.
In the latter case, a typical protocol considers the most preferred hopping frequency of 2.2 Hz, which is set by a metronome, to ensure a stable gesture repetition [36,37]. In walking studies, generally the step pace is about 2 Hz. Some harmonics has to be considered in the measurement set up, leading to a frequency band of about 5 ÷ 10 Hz [1].
We have generated time histories of the reference signal and its derivatives from the analytical definition with a sampling frequency of 100 Hz, X a ( t i ) ,   which is compatible with most biomechanical data acquisition systems. Of course, it is possible to investigate different parameters configuration both for sampling and fundamental frequency.
Some noise is added to the analytical reference to better simulate the experimental situation. This noisy signal X ( t i ) , sampled at 100 Hz, will be the test signal input for the filters we are considering.

2.3. Experimental Test Cases

Once filters are characterized by considering the analytical reference signal and the performance parameters presented in the following Section 2.4, it will be possible to apply the same methods to some experimental test cases which are typical for the biomechanical application we are considering. We will consider kinematic measurements of different gestures:
  • Standard gait analysis—one gait cycle only;
  • In place hopping according to [36,37];
  • Voluntary self-oscillations around an upright stable positions;
  • Maximum height jump [38].

2.4. Test Procedure

Once the analytical signal has been generated together with its first and second derivatives, at the required sampling frequency, some noise is added to the original signal, before entering the processing phase, as reported in Table 1.
Analytical signal offers a reference for both time signal and its derivatives. After noise addition, it is possible to numerically differentiate the signal, by using, for example, the method recommended by Winter in [1]. This method proceeds point by point along the signal history, considering an average of the numeric differences obtained with previous and successive points.
Raw results are then filtered according to the procedures depicted in Figure 2:
MA and BZP filters are applied to the signal. Then the filtered signal is differentiated and filter is applied again. First derivative is differentiated again and MA/BZP filters are applied. Hence each differentiation order n is filtered n + 1 times.
Such numerical differentiation and filtering procedures are not required in the SG case, since one of its peculiar advantages is the possibility to obtain derivatives directly from the polynomial coefficients. Table 2 presents filters parameters that we have considered in this study.
Once we have obtained filtered signals and their derivatives, we can evaluate performance indicators by considering their difference with the reference analytical signal.

2.5. Performance Indicators

Since we rely on an analytical reference, a performance indicator may be developed starting from the point-by-point difference between signal and its derivatives, obtained after differentiation and filtering procedures, with the corresponding references. This can be considered as an estimation of the measurement error, since the reference simulates the measurand and the signal is the output of the measurement procedure. In order to have an overall synthetic parameter, it is possible to consider the rms error value, calculated on all recorded time history, or all available N samples.
E r m s = 1 N i = 1 N ( X ( t i ) X a ( t i ) ) 2
This gives us an absolute picture of the situation that can be normalized to the analytical rms reference, X a r m s , giving a figure of the overall relative error.
E r e l = 100 E r m s X a r m s ( % )   or   E r e l = 20   l o g 10 ( E r m s X a r m s )   ( dB )
The same relative approach can be expressed as a signal to noise ratio, SNR, which is perhaps more informative as regards signal processing. Such overall evaluation fails in identifying specific aspects such as transient behavior at time history extremes and the eventual error on signal peaks.
Transient behavior is important when dealing with limited in time signal histories, for example a single gait recording. In such cases, border effects could be higher than in the central part, so a quantification of the border error according to (3) could be useful to optimize the filter and evaluate the uncertainty in these specific parts.
E w i n = 1 2 W i n ( i = 1 W i n ( X ( t i ) X a ( t i ) ) 2 + i = N     Win N ( X ( t i ) X a ( t i ) ) 2 )
E w i n considers rms error only in the first and last filtering windows, W i n , in the time history recording. The border error is then normalized following the same principle as in (2) to obtain E b o r .
Peak level evaluations are required in some gestures, commonly in sports investigations, for example acceleration peaks during a jump. In such cases, an overall error evaluation is not sufficient, and we need a specific performance indicator. A certain number N p e a k s of peaks are identified in the analytical reference absolute value obtaining their positions, t k ,   and levels, | X a ( t k ) | . Then peak levels are averaged obtaining a reference for the peak value.
P e a k r e f = 1 N p e a k s k = 1 N p e a k s | X a ( t k ) |
Rms difference between peak levels in the same positions t k , for reference and filtered signals is evaluated:
R M S p e a k = 1 N p e a k s k = 1 N p e a k s ( | X ( t k ) | | X a ( t k ) | ) 2
Finally, the ratio between error and reference level gives the dynamic performance indicator in %:
E p e a k = R M S p e a k P e a k r e f
Figure 13 presents graphically the zones of the time signal interested by performance indicators.
Now we are going to apply the performance indicators summarized in Table 3, to:
  • The signal itself evaluating only the low pass filtering effect, and;
  • Its first and second derivatives.

3. Results

3.1. Signal Filtering

Analytic reference and noisy signals are presented in Figure 3a. The filter effect is presented in a detailed view in Figure 3b.
The MA filter performance is a bit lower than the others, as expected. It is difficult to identify, from these graphs, a best performance option. Hence, for each signal, we computed a point-by-point error as the difference towards the analytical reference, to evaluate some significant parameters as described in Section 2.5. Figure 4 represents the point-by-point error chart. The border effect is evident on the left for the first about 0.2 s. In Table 4, we present some performance figures.

3.2. First Derivative

We now take into consideration the derivatives. Figure 5 and Table 5 show that, while in time filter performance can be intuitively estimated considering bandwidth or filter nonlinear properties, after the differentiation process, filter behavior is much less predictable.

3.3. Second Derivative

Moving now to the second derivative, errors are much more evident as shown in Figure 6 and Table 6.

3.4. Experimental Test Cases

In this section, we apply characterized methods to a set of experimental signals useful in the biomechanical analysis of the gestures presented in Section 2.3.

3.4.1. In Place Hopping

We start considering the vertical movement of a point approximately near the center of mass of the subject during repeated hopping at a regular pace. The signal is approximately periodical, as presented in Figure 7, and acquisition lasts for several repetitions, so we can manage border effects by cutting the central part of the signal after filtering.
Figure 8 presents signal derivatives or CoM vertical speed and acceleration. Raw differentiation (in cyan) as expected creates a very large noise. While BZP (in blue) presents a smoother behavior compared to SG (in red). MA (in magenta) underestimates signal peaks and it seems to have an insufficient bandwidth, even if the three filters are designed for the same cut off frequency.
Figure 9 presents first and second derivatives for the same gesture but requiring the subject to force the hopping while maintain the indicated rhythm. In this case, we limited comparison to SG and BZP since they demonstrated to be best choices when interested in differentiation.
The performance here is equivalent in the first derivative while in the second derivative SG seems more noise sensitive and captures larger acceleration peaks, while the smother BZP enables the identification of the flight period in which acceleration is near gravity.

3.4.2. Gait

In gait analysis, available signals often refer to a single gait cycle. This is particularly critical due to the border effects. Figure 10 presents CoM height during a cycle and its vertical speed and acceleration. Border effects are evident when considering speed and acceleration. Near borders SG-BZP performance parameters show 14%–28% errors respectively for the first derivative and 170%–59% for the second derivative. This is evident in the acceleration graph when considering the right border, where SG and BZP signals abruptly deviate.

3.4.3. Self-Oscillations

In this gesture, the horizontal position of the CoM of a subject who voluntary oscillates back and forward, having care to maintain feet stable and still on the ground and legs as rigid as possible. This signal is not exactly periodical, as presented in Figure 11, since the subject is not required to maintain a fixed rhythm; the periodicity is due to the movement back and forward. Possible oscillations in these specific conditions are very small, hence measurement results are generally subject to a large amount of noise as compared with the movement amplitude.
The noise effect is more evident, in particular for the acceleration chart. BZP remains smoother than SG and presents lower border effects.

3.4.4. Maximum Height Jump

The maximum height jump is commonly used to evaluate athletes’ explosive performance. Experiments include kinematics and/or kinetic measurements through force platforms. This signal is not periodic, since the subject intention is to produce a force pulse on ground to obtain maximum vertical acceleration and reach maximum vertical height. We consider CoM vertical position measurements until the subject’s take off. Figure 12a presents CoM speed showing pre jump movements and a peak value before taking off. From the speed signal, we computed acceleration as presented in Figure 12b, where we have excluded the raw computation since, due to noise, it would saturate the graph scale. The difficulty in peak value measurement is evident: discrepancies between the three methods are rather large.
Considering E p e a k , defined in Equations (5) and (6), as a standard deviation we can introduce a peak acceleration uncertainty due to computation only, calculated as a 2   E p e a k error, obtaining the values in Table 7, in which large intervals confirm the graphical impression, but they overlap for all three methods, supporting the validity of the proposed approach.

4. Discussion

The introduction of a reference signal and its analytical derivatives enables a quantitative evaluation of numerical differentiation procedures. For this purpose, we considered a set of error parameters for specific aspects of the signal and its derivatives: overall error, error in recording borders, error on the peaks, as presented in Figure 13. A parameter can be selected according to the objectives of the biomechanical analysis that is carried out and consequently an estimation of the possible error due to the differentiation/filtering procedure is possible. For example, a general analysis of a periodic gesture may require a general error evaluation and some indications of possible border effects. If the acquisition is rather short and the gesture starts very near recording border the border error can give useful information. If the interest is on peaks, (for example, acceleration peaks in sports gestures), the peak error is the most suitable parameter.
Even if in typical biomechanical applications, kinematic signal processing is off-line and does not require particularly fast computation, each method requires a suitable and efficient implementation, however, using the standard algorithms available for example in Matlab®, the computation time is limited to few milliseconds for a 2.5 s signal and its derivatives, for all of the methods.
When evaluating measurement uncertainty, the instrumental effects are significant [3] but when dealing with biomechanical models, other contributions should be considered [39] and, among them, the differentiation and filtering procedure might be important. The proposed approach gives an estimation of possible errors according to the selected filtering procedure.
An evaluation of the errors for the simulated signals at 2 and 5 Hz and the three differentiation orders considered, shows that:
  • When a time signal filtering is considered Butterworth and polynomial filters have almost the same performance in the three areas, moving average is acceptable, even if slightly less efficient;
  • When considering derivatives, the moving average filter is less performing than the others, but its performance is almost unvaried between 2 and 5 Hz and for differentiation order, hence this approach shows to be simple and robust;
  • In first and second differentiation, Butterworth has a more stable behavior with respect to frequency and in general, it shows a better performance in the borders if compared with polynomial methods. Performance on peak level measurement is acceptable and robust.
  • The Savitsky–Golay filter seems to improve its performance in first and second derivatives, by increasing the reference frequency from 2 to 5 Hz. The differences in performances create some difficulties for uncertainty evaluation when the frequency content of the signal is not “a priori” known.
It is worth noting that in this study, a similar set up for all the filters was considered. The different performance of the Savitsky–Golay polynomial filter for 2 and 5 Hz, might indicate that a specific tuning is required. Such a tuning is not simple to design a priori, it would require a strict frequency band of interest and might require several attempts. On the other hand, Butterworth filtering is much simpler to tune, moreover, it is robust enough to perform in an acceptable way for all the differentiation orders for the considered frequencies, and in all areas of interest. According to the proposed evaluation frame, it seems the best choice. Our evaluation limits are due, for example, to the pure harmonic reference signal. A further step might include simulation of more complex signals maintaining the possibility to have a reference analytical derivative. As regards the filter setup, we can suppose that a filter specific tuning, might improve performance, but it would change the evaluation frame that in this paper considers the same order and cutoff frequency for all the filters. While, as in regards to filter type, the proposed approach can be used to evaluate other differentiation and filtering procedures or application of pre-treatments, such as the Hanning smoothing windows in the moving average filter, to limit border effects.
In general, this work defines a basic evaluation procedure and supplies the biomechanical experimenter some useful indication, to evaluate uncertainty contributions due to differentiation and filtering of biomechanical signals.

5. Conclusions

The three low pass filtering procedures—moving average, Butterworth, and polynomial, applied to differentiation of biomechanical signals have been studied considering both as a simulated reference and experimental kinematic signals.
Beside the rms error, we have introduced other performance parameters focusing on error on the peak values, as well as border errors.
In order to compare filter performance, a standard set up for all the methods was considered, as illustrated in Table 2. With such constrains, it emerges that the Butterworth zero phase low pass filter presents the most robust performance in all differentiation conditions. Savitsky–Golay polynomial filtering is valid, but it presents different performances at different frequencies. To improve its performance, it requires fine tuning depending on both derivative order, signal type and frequency, and the objective of the analysis.
Moreover, the reference signal has enabled a quantification of the differentiation contribution to the measurement uncertainty for a differentiated signal such as velocity or acceleration. Uncertainty contribution are defined according to the considered parameters, for the signal in general, for the signal’s borders, or for peak value evaluation.
Further experimentation will be based on more complex simulated signals considering different filters setups.

Author Contributions

Conceptualization, F.C., G.B.R., M.B.; methodology, F.C., G.B.R., M.B.; software, F.C.; validation, F.C., M.B.; formal analysis, G.B.R.; data curation, F.C.; writing—original draft preparation, F.C.; writing—review and editing, F.C., M.B., G.B.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research and the APC were partially funded by EU H2020 program, Project EUROBENCH (Grant N° 779963–sub-project, BULLET).

Institutional Review Board Statement

Ethical review and approval were waived for this study. Subjects involved are healthy volunteers. We have performed risk analysis and ethics issues self-assessment, then, according to the standard procedure, we collected a signed informed consent.

Informed Consent Statement

Informed consent was obtained from the subject involved in the study.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to privacy reasons.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Winter, D.A. Biomechanics and Motor Control of Human Movement; John Wiley & Sons: New York, NY, USA, 2009. [Google Scholar]
  2. Nigg, B.; Herzog, W. Biomechanics of the Musculo-Skeletal System, 3rd ed.; John Wiley & Sons: New York, NY, USA, 2007. [Google Scholar]
  3. Chiari, L.; Della Croce, U.; Leardini, A.A.; Cappozzo, A. Human movement analysis using stereophotogrammetry: Part 2: Instrumental errors. Gait Posture 2005, 21, 197–211. [Google Scholar] [CrossRef]
  4. Pezzack, J.C.; Norman, R.W.; Winter, D.A. An assessment of derivative determining techniques used for motion analysis. J. Biomech. 1977, 10, 377–382. [Google Scholar] [CrossRef]
  5. Winter, D.A.; Sidwall, H.G.; Hobson, D.A. Measurement and reduction of noise in kinematics of locomotion. J. Biomech. 1974, 7, 157–159. [Google Scholar] [CrossRef]
  6. Giakas, G.; Baltzopoulos, V. A comparison of automatic filtering techniques applied to biomechanical walking data. J. Biomech. 1997, 30, 847–850. [Google Scholar] [CrossRef]
  7. Giakas, G.; Baltzopoulos, V. Optimal digital filtering requires a different cut-off frequency strategy for the determination of the higher derivatives. J. Biomech. 1997, 30, 851–855. [Google Scholar] [CrossRef]
  8. Giakas, G.; Baltzopoulos, V. Optimal digital filtering requires a different cut-off frequency strategy for the determination of the higher derivatives. J. Biomech. 1997, 30, 1003. [Google Scholar] [CrossRef]
  9. Gazzani, F. Comparative assessment of some algorithms for differentiating noisy biomechanical data. J. Bio-Med Comput. 1994, 37, 57–76. [Google Scholar] [CrossRef]
  10. Silva, M.P.T.; Ambrósio, J.A.C. Kinematic Data Consistency in the Inverse Dynamic Analysis of Biomechanical Systems. Multibody Syst. Dyn. 2002, 8, 219–239. [Google Scholar] [CrossRef]
  11. Cappello, A.; La Palombara, P.F.; Leardini, A. Optimization and smoothing techniques in movement analysis. Int. J. Bio-Med Comput. 1996, 41, 137–151. [Google Scholar] [CrossRef]
  12. Van den Bogert, A.J.; de Koning, J.J. On optimal filtering for inverse dynamics analysis. In Proceedings of the 9th Canadian Society for Biomechanics Congress, Burnaby, BC, Canada, 21–24 August 1996; pp. 214–215. [Google Scholar]
  13. Dowling, J.L. A modeling strategy for smoothing of biomechanical data. In Biomechanics X; Jonsson, B., Ed.; Human Kinetics Publishers: Champaign, IL, USA, 1987; Volume 2, pp. 1163–1167. [Google Scholar]
  14. Hatze, H. The use of optimally regularized Fourier series for estimating higher-order derivatives of noisy biomechanical data. J. Biomech. 1981, 14, 13–18. [Google Scholar] [CrossRef]
  15. Antonsson, E.K.; Mann, R.W. The frequency content of gait. J. Biomech. 1985, 18, 39–47. [Google Scholar] [CrossRef]
  16. Stergioulas, L.K.; Vourdasc, A.; Giakas, G. Time-frequency analysis and filtering of kinematic signals with impacts using the Wigner function: Accurate estimation of the second derivative. J. Biomech. 2000, 33, 567–574. [Google Scholar]
  17. Aissaoui, R.; Husse, S.; Mecheri, H.; Parent, G.; de Guise, J.A. Automatic filtering techniques for three-dimensional kinematics data using 3D motion capture system. In Proceedings of the IEEE International Symposium on Industrial Electronics, Montreal, QC, Canada, 9–13 July 2006. [Google Scholar]
  18. Savitzky, A.; Golay, M.J.E. Smoothing and differentiation of data by simplified least squares procedures. Anal. Chem. 1964, 36, 1627–1639. [Google Scholar] [CrossRef]
  19. Lombrozo, P.C.; Barr, R.E.; Abraham, L.D. Smoothing of noisy human motion data using digital filtering and spline curves. In Proceedings of the Annual International Conference of the IEEE Engineering in Medicine and Biology Society, New Orleans, LA, USA, 4–7 November 1988. [Google Scholar]
  20. Schafer, R.W. What is a Savitzky-Golay Filter? IEEE Signal. Process. Mag. 2011, 28, 111–117. [Google Scholar] [CrossRef]
  21. Crenna, F.; Rossi, G.B. Squat biomechanics in weightlifting: Foot attitude effects. In Journal of Physics: Conference Series; Joint IMEKO TC1-TC7-TC13-TC18 Symposium; Russian Federation: St Petersburg, Russia, 2019; Volume 1379. [Google Scholar]
  22. Williams, E.M.; Gordon, A.D.; Richmond, B.G. Upper Limb Kinematics and the Role of the Wrist During Stone Tool Production. Am. J. Phys. Anthropol. 2010, 143, 134–145. [Google Scholar] [CrossRef] [PubMed]
  23. Woltring, H.J. On optimal smoothing and derivative estimation from noisy displacement data in biomechanics. Hum. Mov. Sci. 1985, 4, 229–245. [Google Scholar] [CrossRef]
  24. Woltring, H.J. A Fortran package for generalized cross validatory spline smoothing and differentiation. Adv. Eng. Softw. 1986, 8, 104–113. [Google Scholar] [CrossRef]
  25. Vint, P.F.; Hinrichs, R.N. Endpoint error in smoothing and differentiating raw kinematic data: An evaluation of four popular methods. J. Biomech. 1996, 29, 1637–1642. [Google Scholar] [CrossRef]
  26. Crenna, F.; Rossi, G.B.; Belotti, V.; Palazzo, A. Filtering signals for movement analysis in biomechanics. In Proceedings of the XXI IMEKO World Congress, Prague, Czech Republic, 30 August–4 September 2015. [Google Scholar]
  27. SimTK OpenSim Project Home. Available online: https://simtk.org/projects/opensim (accessed on 2 July 2021).
  28. Delp, S.L.; Anderson, F.C.; Arnold, A.S.; Loan, P.; Habib, A.; John, C.T.; Guendelman, E.; Thelan, D.G. OpenSim: Open-source software to create and analyze dynamic simulations of movement. IEEE Trans. Biomed. Eng. 2007, 55, 1940–1950. [Google Scholar] [CrossRef] [Green Version]
  29. Erer, K.S. Adaptive usage of the Butterworth digital filter. J. Biomech. 2007, 40, 2934–2943. [Google Scholar] [CrossRef]
  30. Vaughan, C.; Davis, B.; O’Connor, J. Gait Analysis Laboratory; Human Kinetics: Champaign, IL, USA, 1992. [Google Scholar]
  31. Lanshammar, H. On practical evaluation of differentiation techniques for human gait analysis. J. Biomech. 1982, 5, 99–105. [Google Scholar] [CrossRef]
  32. Sinclair, J.; Taylor, P.J.; Hobbs, S.J. Digital Filtering of Three-Dimensional Lower Extremity Kinematics: An Assessment. J. Hum. Kinet. 2013, 39, 25–36. [Google Scholar] [CrossRef] [Green Version]
  33. Press, W.H.; Teukolsky, S.A.; Vetterling, W.T.; Flannery, B.P. Numerical Recipes: The Art of Scientific Computing, 3rd ed.; ch.14.8 Savitzky-Golay Smoothing Filters; Cambridge University Press: Cambridge, UK, 2007; p. 655. [Google Scholar]
  34. Luo, J.; Ying, K.; He, P.; Bai, J. Properties of Savitzky–Golay digital differentiators. Digit. Signal. Process. 2005, 15, 122–136. [Google Scholar] [CrossRef]
  35. Young-Hoo, K. Measurement for deriving kinematic parameters: Numerical methods. In Routledge Handbook of Biomechanics and Human Science; Hong, Y., Bartlett, R., Eds.; Routledge: London, UK, 2010. [Google Scholar]
  36. Farley, C.T.; Blickhan, R.; Saito, J.; Taylor, C.R. Hopping frequency in humans: A test of how springs set stride frequency in bouncing gaits. J. Appl. Physiol. 1991, 71, 2127–2132. [Google Scholar] [CrossRef] [PubMed]
  37. Farley, C.T.; Morgenroth, D.C. Leg stiffness primarily depends on ankle stiffness during human hopping. J. Biomech. 1999, 32, 267–273. [Google Scholar] [CrossRef]
  38. Crenna, F.; Palazzo, A.; Rossi, G.B. Power measurement in maximum height jump. J. Phys. Conf. Ser. 2018, 1065, 072031. [Google Scholar] [CrossRef]
  39. Crenna, F.; Rossi, G.B.; Berardengo, M. A Global Approach to Assessing Uncertainty in Biomechanical Inverse Dynamic Analysis: Mathematical Model and Experimental Validation. IEEE Trans. Instrum. Meas. 2021, 70. [Google Scholar] [CrossRef]
Figure 1. The 3 dB bandwidth for SG applied to a signal sampled at 100 Hz, as a function of window length. Data from [20].
Figure 1. The 3 dB bandwidth for SG applied to a signal sampled at 100 Hz, as a function of window length. Data from [20].
Sensors 21 04580 g001
Figure 2. Signal processing to obtain first and second derivative.
Figure 2. Signal processing to obtain first and second derivative.
Sensors 21 04580 g002
Figure 3. Reference analytical and noisy signals. (a) Time histories; (b) filter effect detail for polynomial, SG, (red), moving average, MA, (magenta) and Butterworth zero phase, BZP (blue), compared to the reference analytic (black) and noisy (cyan) signals.
Figure 3. Reference analytical and noisy signals. (a) Time histories; (b) filter effect detail for polynomial, SG, (red), moving average, MA, (magenta) and Butterworth zero phase, BZP (blue), compared to the reference analytic (black) and noisy (cyan) signals.
Sensors 21 04580 g003
Figure 4. Point by point error as difference between each processed signal and the analytical reference.
Figure 4. Point by point error as difference between each processed signal and the analytical reference.
Sensors 21 04580 g004
Figure 5. Signal differentiation. (a) Time histories for analytical signal first derivative (Reference, Ref), numerically differentiated signal (raw differentiation, RD), differentiated and filtered by polynomial (SG), Butterworth (BZP) or moving average (MA), and; (b) first derivative errors for all the methods.
Figure 5. Signal differentiation. (a) Time histories for analytical signal first derivative (Reference, Ref), numerically differentiated signal (raw differentiation, RD), differentiated and filtered by polynomial (SG), Butterworth (BZP) or moving average (MA), and; (b) first derivative errors for all the methods.
Sensors 21 04580 g005
Figure 6. Signal double differentiation. (a) Time histories for analytical signal second derivative (Reference, Ref), numerically differentiated signal (raw differentiation, RD), differentiated and filtered by polynomial (SG), Butterworth (BZP) or moving average (MA), and (b) the second derivative errors for all the methods.
Figure 6. Signal double differentiation. (a) Time histories for analytical signal second derivative (Reference, Ref), numerically differentiated signal (raw differentiation, RD), differentiated and filtered by polynomial (SG), Butterworth (BZP) or moving average (MA), and (b) the second derivative errors for all the methods.
Sensors 21 04580 g006
Figure 7. CoM vertical position during hopping. Complete acquisition (a) and detail (b).
Figure 7. CoM vertical position during hopping. Complete acquisition (a) and detail (b).
Sensors 21 04580 g007
Figure 8. CoM vertical speed (a) and acceleration (b).
Figure 8. CoM vertical speed (a) and acceleration (b).
Sensors 21 04580 g008
Figure 9. CoM vertical speed (a) and acceleration (b) in forced hopping.
Figure 9. CoM vertical speed (a) and acceleration (b) in forced hopping.
Sensors 21 04580 g009
Figure 10. CoM vertical position (a), speed (b) and acceleration (c) during a gait cycle.
Figure 10. CoM vertical position (a), speed (b) and acceleration (c) during a gait cycle.
Sensors 21 04580 g010aSensors 21 04580 g010b
Figure 11. CoM horizontal position (a), speed (b) and acceleration (c) during voluntary oscillation around a stable and constant position.
Figure 11. CoM horizontal position (a), speed (b) and acceleration (c) during voluntary oscillation around a stable and constant position.
Sensors 21 04580 g011
Figure 12. CoM vertical speed (a) and acceleration (b) in a maximum height jump.
Figure 12. CoM vertical speed (a) and acceleration (b) in a maximum height jump.
Sensors 21 04580 g012
Figure 13. Error parameters to evaluate differentiation/filtering procedures and their evaluation zones on signal time history.
Figure 13. Error parameters to evaluate differentiation/filtering procedures and their evaluation zones on signal time history.
Sensors 21 04580 g013
Table 1. Reference analytical signal parameters.
Table 1. Reference analytical signal parameters.
Analytical Signal Parameters
Sampling frequency f s 100 Hz
Analytical frequency f 0 2–5 Hz
Analytical amplitude X a 0 2 (a.u.)
Analytical rms value X a r m s 1 (a.u.)
Random noise rms0.1 (a.u.)
X     SNR20 dB
Table 2. Low pass filters characteristics.
Table 2. Low pass filters characteristics.
FilterParameters
Moving average, MAWindow length 5 samples– f c u t 10   Hz
Butterworth zero phase filter, BZPSecond order two passages → 4th order–   f c u t = 10   Hz
Savitsky–Golay polynomial filter, SGFourth order window length 17 samples– f c u t 10   Hz
Table 3. Performance indicators summary.
Table 3. Performance indicators summary.
IndicatorDescriptionFocus
E r e l (%)Error rms on reference rms in percentageOverall performance
E d B (dB)Error rms on reference rms in dBOverall performance
E b o r (%)Border error rms on reference rms in percentageBorder performance
E p e a k (%)Error on peak evaluation on reference peak value in percentageImpulsive performance
Table 4. Performance indicators for low pass filtering of noisy 2 and 5 Hz time signals.
Table 4. Performance indicators for low pass filtering of noisy 2 and 5 Hz time signals.
Signal/Indicator E r e l   ( % ) E d B   ( dB ) E b o r   ( % ) E p e a k   ( % )
Noisy101020 120 114134.77
MA filtered4.71027206.5143.410
BZP filtered4.06.628246.3112.66
SG filtered4.64.627267.372.93
1 Imposed by simulation and confirmed by performance evaluation.
Table 5. Performance indicators for the first derivative obtained by raw numerical differentiation (RD) and low pass filtering or by polynomial filtering (SG) on the original 2 and 5 Hz noisy time signals.
Table 5. Performance indicators for the first derivative obtained by raw numerical differentiation (RD) and low pass filtering or by polynomial filtering (SG) on the original 2 and 5 Hz noisy time signals.
Signal/Indicator E r e l   ( % ) E d B   ( dB ) E b o r   ( % ) E p e a k   ( % )
Raw differentiation—RD552251369284816
RD + MA filtering1613161819201212
RD + BZP filtering8.613211714255.412
SG filtering139182128116.48
Table 6. Performance indicators for the second derivative obtained by raw numerical differentiation (RD) and low pass filtering or by polynomial filtering (SG) on the original 2 and 5 Hz noisy time signals.
Table 6. Performance indicators for the second derivative obtained by raw numerical differentiation (RD) and low pass filtering or by polynomial filtering (SG) on the original 2 and 5 Hz noisy time signals.
Signal/Indicator E r e l   ( % ) E d B   ( dB ) E b o r   ( % ) E p e a k   ( % )
Raw differentiation–RD37459−1156308820243
RD + MA filtering392381365422821
RD + BZP filtering2321131359501418
SG filtering641241917029327
Table 7. Peak acceleration values for the maximum height jump including a ±   2 σ uncertainty due to differentiation/filtering methods, evaluated according to reference signal tests in Table 6.
Table 7. Peak acceleration values for the maximum height jump including a ±   2 σ uncertainty due to differentiation/filtering methods, evaluated according to reference signal tests in Table 6.
MethodPeak Acceleration (m/s2)
RD + MA filtering16 ± 8
RD + BZP filtering23 ± 7
SG filtering35 ± 14
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Crenna, F.; Rossi, G.B.; Berardengo, M. Filtering Biomechanical Signals in Movement Analysis. Sensors 2021, 21, 4580. https://doi.org/10.3390/s21134580

AMA Style

Crenna F, Rossi GB, Berardengo M. Filtering Biomechanical Signals in Movement Analysis. Sensors. 2021; 21(13):4580. https://doi.org/10.3390/s21134580

Chicago/Turabian Style

Crenna, Francesco, Giovanni Battista Rossi, and Marta Berardengo. 2021. "Filtering Biomechanical Signals in Movement Analysis" Sensors 21, no. 13: 4580. https://doi.org/10.3390/s21134580

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