Development and Validation of an Algorithm for Foot Contact Detection in High-Dynamic Sports Movements Using Inertial Measurement Units
Stefano Di Paolo, Margherita Mendicino, José Miguel Palha de Araújo dos Santos, Eline Nijmeijer, Pieter Heuvelmans, Francesco Della Villa, Alli Gokeler, Anne Benjaminse, Stefano Zaffagnini

TL;DR
A new algorithm using inertial sensors accurately detects foot contact during sports movements, offering a portable alternative to lab equipment.
Contribution
A novel IMU-based algorithm combining pelvis vertical velocity and foot acceleration improves foot contact detection accuracy in sports.
Findings
The combined PVV-RFA algorithm achieved median offsets below 20 ms for initial contact and toe-off detection.
The algorithm outperformed individual PVV or RFA methods with minimal influence from factors like sex or movement speed.
The method enables field-based biomechanical analysis with high ecological validity for sports performance and rehabilitation.
Abstract
What are the main findings? A novel IMU-based algorithm combining pelvis vertical velocity (PVV) and the resultant foot acceleration (RFA) signals accurately detected events of initial contact and toe-off during high-dynamic sports movements.The algorithm outperforms individual PVV or RFA methods, achieving median offsets below 20 ms compared to force platform data. A novel IMU-based algorithm combining pelvis vertical velocity (PVV) and the resultant foot acceleration (RFA) signals accurately detected events of initial contact and toe-off during high-dynamic sports movements. The algorithm outperforms individual PVV or RFA methods, achieving median offsets below 20 ms compared to force platform data. What is the implication of the main finding? The algorithm enables reliable, field-based biomechanical analysis of complex movements, providing a portable and practical alternative to…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLower Extremity Biomechanics and Pathologies · Gait Recognition and Analysis · Balance, Gait, and Falls Prevention
1. Introduction
Precise foot contact detection (FCD) is essential in biomechanical analysis, providing accurate information for optimizing sports performance, preventing injuries, and supporting rehabilitation. In sports movement analysis, identifying key events within the foot contact window is crucial for extracting temporal parameters, estimating ground reaction forces, and detecting asymmetries or compensatory strategies. This is especially important in multidirectional sports such as football, handball, and basketball, where accurately determining the stance phase is central to assessing musculoskeletal injury risk, including anterior cruciate ligament (ACL) rupture [1,2,3,4,5].
Traditionally, the detection of foot contact events relies on laboratory-based force platforms or optical motion capture systems, which restrict testing to controlled environments and to limited movement tasks, thus reducing the ecological validity of data collection by failing to reproduce the environmental complexity of high-demand sports situations. As research and its application in sports moves toward on-field assessment, wearable inertial measurement units (IMUs) have emerged as a viable alternative to laboratory-based motion capture in biomechanical studies, providing continuous monitoring in ecological and sport-specific conditions such as training and competitive settings [6,7,8].
A reliable method for proper FCD directly from IMU signals is required to ensure accurate IMU-based kinematics when force platform data are not available [6]. This has led to a proliferation of automatic FCD algorithms, which, however, have mostly been explored in the context of walking or straight-line running [9,10,11]. Indeed, their applicability and reliability for high-dynamic sports movements, such as cutting maneuvers, remain poorly understood.
Previous research underlined poor accuracy in applying gait-based FCD algorithms to high-dynamics, multidirectional movements [12]. These limitations particularly arise because gait-based algorithms assume regular steps and low accelerations, which are violated during rapid cutting maneuvers [13]. For instance, Falbriard et al. [14] showed that even during straight running, speed and foot-strike variations can cause errors up to 15 ms, suggesting larger errors in more complex movements. This is supported by Fadillioglu et al. [15], who reported task-dependent gait event detection accuracy, with directional changes leading to higher errors. Similarly, Niswander & Kontson [12] demonstrated that algorithm accuracy varies across walking tasks, such as obstacle navigation, highlighting how algorithm performance strongly depends on the movement context.
In addition, a recently published systematic review [16] synthesized existing IMU-based methods for FCD, highlighting the limited availability of algorithms for sports applications, with 92% of included studies investigating algorithms for linear running and sprinting tasks only. The sensitivity of existing IMU-based FCD algorithms to variations in movement speed has also been questioned [16,17,18], further evidencing the lack of robustness under realistic sports conditions.
Despite the growing adoption of wearable sensors for biomechanics and performance assessment in real-world settings [7,19], these recent findings highlight a significant gap in the literature, which limits their practical applicability due to the lack of validated algorithms for high-dynamic sports movements. Therefore, a broader adoption of IMUs in field-based biomechanical analyses, for both performance and clinical studies, also relies on the challenge of FCD in such movements.
Building on previous findings and addressing the gaps identified in the literature, the present study aimed to develop and validate an IMU-based FCD algorithm specifically designed for high-dynamic sports movements. Specifically, the concurrent validity of two literature-based algorithms was first analyzed against the ground truth. Based on their performance, a third hybrid algorithm was developed by integrating complementary features from the first two methods and validated against the gold standard.
2. Materials and Methods
2.1. Participants
Thirty-four competitive young, healthy athletes (22.8 ± 4.1 years, 18 males and 16 females, Tegner Level 9) were involved in this study. The inclusion criteria were an age between 18 and 50 years, a Tegner level of at least 5, and a BMI < 35 at the time of data collection. The exclusion criteria included a history of major musculoskeletal injuries or lower-limb surgery, the presence of cardiopulmonary or cardiovascular disorders, and any medical condition potentially limiting the safe execution of high-intensity movements [8,20].
Each athlete signed an informed consent form before entering this study. The research study was approved by the Institutional Review Board (IRB approval: 555/2018/Sper/IOR of 12 September 2018) of Area Vasta Emilia Romagna Centro (AVEC, Bologna, Italy) and registered on ClinicalTrials.gov (Identifier: NCT03840551).
2.2. Data Collection
Data collection was conducted at the Education and Research Department of the Isokinetic Medical Group in Bologna (Italy), in a laboratory equipped with artificial turf [19]. After a dynamic warm-up, athletes performed two high-dynamic tasks at maximum effort: a pre-planned 90° change of direction (COD) and a linear sprint with deceleration (DEC). The COD task consisted of a 5 m linear sprint, followed by a 90° sidestep cut and a further 3 m frontal sprint in the new direction, whereas the DEC task involved a 5 m sprint followed by a single-leg stop and a backward sprint while facing the same direction (Figure 1), as described in detail by Della Villa et al. (2022) [21]. These movements mimic common pivoting sports situations, such as pressing and cutting, widely recognized as situational patterns associated with ACL rupture [5,22,23,24,25]. Two to three valid trials (adequate effort, full foot contact on the platform) per side were recorded for each task. A sports medicine physician specializing in sports biomechanics (F.D.V.) supervised the athletes, provided standardized instructions to perform each task at their best, and verified the validity of the trials.
Ground truth force data were collected using a force platform embedded in the floor (AMTI 400*600, Watertown, MA, USA; 1000 Hz). Additionally, a set of 15 wearable IMUs (MTw Awinda, Movella, Enschede, The Netherlands; 60 Hz), placed by a single experienced operator (S.D.P.) on the upper limbs, trunk, and lower limbs, was used to collect full-body joint kinematics. Specifically, IMUs were positioned bilaterally on the dorsum of the feet, shanks, thighs, upper arms, forearms, and shoulders, as well as on the pelvis, sternum, and head. All sensors were secured using elastic straps and medical-grade adhesive tape, following the manufacturer’s instructions, to minimize displacement and ensure stable attachment throughout the movements. The system calibration was performed in both static (upright standing) and dynamic (walking) conditions. The wearable system was validated in the assessment of high-dynamic movements in previous studies [26,27,28]. IMUs and the force platform were synchronized via a hardware trigger during data acquisition for direct time comparison. Synchronization was verified by testing the trigger alignment in the first trials and periodically re-testing it during data collection. In addition, visual verification was performed on all trials after data collection by inspecting the temporal alignment of the signals. Trials showing evident temporal shifts indicative of synchronization errors were excluded from further analysis.
2.3. Data Processing
The data processing was performed in the proprietary IMU software (MVN Analyze 2023.2) to export full-body kinematics. Further analyses were performed in a custom MATLAB script (MATLAB R2023b, The MathWorks, Natick, MA, USA), using the Biomechanical ToolKit (BTK, v0.3.0), the Signal Processing Toolbox, and the Statistics and Machine Learning Toolbox.
A reference foot-contact window was defined using the vertical ground reaction force (vGRF) signal to detect initial contact (IC) and toe-off (TO) for each trial. IC was determined as the first frame in which the vGRF exceeded a 50 N threshold, and TO as the first frame in which the vGRF dropped below the same threshold [29,30]. The vGRF signal was then down-sampled to the IMU sampling frequency using the “resample” MATLAB function. The timing of IC and TO events was then resampled accordingly to ensure temporal alignment with the IMU data for proper comparison.
Two different algorithms were developed to identify IC and TO events for accurate FCD from IMU data. These rely on commonly used IMU signals in the literature for FCD in running or sprinting tasks [16]. Specifically, the first algorithm relied on pelvis vertical velocity (PVV, 1), retrieved from the IMU sensor output at the pelvis [29], while the second relied on resultant foot acceleration (RFA, 2), computed as the magnitude of the three-axis linear acceleration measured by the foot-mounted IMU [14,31,32,33]. A detailed description of the algorithms is provided in the subsubsections below, and graphical overview of these algorithms is shown in Figure 2.
2.3.1. Algorithm 1: Pelvis Vertical Velocity (PVV)
The PVV algorithm detects IC and TO events based on the vertical component (z-axis) of the pelvis velocity, directly retrieved from the IMU sensor output at the pelvis [29]. The aim of the algorithm is to recognize a pattern in the PVV signal (Figure 2). First, the PVV signal is filtered by applying a low-pass third-order Butterworth filter (20 Hz cutoff frequency) to minimize the influence of IMU fixation artifacts [30]. Then, the algorithm identifies all local minima in the PVV signal as potential ICs of the FC window of interest and all local maxima as potential TOs. For each potential IC, the algorithm examines all possible TOs and checks three conditions: (1) TO occurs after the IC; (2) a descent in velocity occurs after the TO, meaning that the derivative of velocity must drop below a threshold set at −0.1 m/s^2^ (empirically chosen); and (3) the TO is the highest of peaks before the descent. If all these conditions are met, the IC and TO are selected. Otherwise, the algorithm moves on to the next potential TO.
2.3.2. Algorithm 2: Resultant Foot Acceleration (RFA)
The RFA algorithm uses the resultant foot acceleration, computed as the magnitude of the three-axis linear acceleration measured by the foot-mounted IMU, to detect IC and TO events [14,31,32,33]. As for the PVV algorithm, the aim is to recognize a pattern in the RFA signal (Figure 2). First, the algorithm extracts the foot acceleration data along the x, y, and z axes and computes the resultant acceleration. The RFA signal is filtered with a low-pass third-order Butterworth filter (20 Hz cutoff frequency), to smooth the signal and remove high-frequency noise [14,32]. Then, the algorithm identifies the IC and TO events by following a sequence of steps: it detects all local maxima in the RFA signal, marking them as potentially desired ICs and TOs. For each potential IC, the algorithm examines the following potential TOs to verify whether they are greater than or equal to a defined threshold for TO peak detection, which is set at 30 m/s^2^ (empirically chosen). This threshold represents the minimum RFA value required for an eligible TO. If a potential TO does not meet this criterion, it is discarded, and the algorithm continues evaluating the next potential TO event.
Finally, the two approaches were combined into a hybrid algorithm to assess whether this yielded more accurate results compared to the reference system. Both PVV and RFA algorithms were coded to potentially detect all foot contact events within each trial. For the purposes of this study, the step, or foot contact, with the longest duration was selected as the valid one corresponding to the COD or DEC event [34]. If no valid IC and TO were found, the algorithms report an error message.
2.4. Algorithms’ Validation and Statistical Analysis
The IC and TO events detected by the IMU-based FCD algorithms were compared with those obtained from force platform measurements to assess concurrent validity. The consistency of each algorithm against the reference system was first inspected through Bland–Altman analysis, including mean offset, limits of agreement, and number of outliers. Additionally, the median offset (difference between force platform and IMU events’ time) and interquartile range (IQR) were used to quantify the agreement.
To further evaluate the performance of the algorithms, a Linear Mixed-Effects model was applied, investigating whether algorithm error was influenced by the following confounding factors: task category (COD/DEC), sex (male/female), and leg (dominant/non-dominant), while accounting for repeated measures across participants by including participant identification number as a random effect. Additionally, Pearson’s correlation coefficient was computed to examine potential error sources at IC and TO, focusing on movement speed for the PVV algorithm and the magnitude of acceleration for RFA, as these directly influence the respective signal characteristics.
Lastly, a hybrid algorithm was implemented by integrating the PVV and RFA approaches to combine their individual strengths and minimize the offset from the ground truth. The hybrid algorithm, which builds on the results of the individual analyses, is described in the Section 3.2 entitled “Algorithm 3: Hybrid”.
3. Results
A total of 302 valid trials were collected (164 COD, 138 DEC). Forty-five trials were excluded due to errors in manual triggering, resulting in IMU misalignment with the reference system. Consequently, 257 trials were considered for analysis.
The average FC window identified by the reference system was 478.3 ± 162.1 [459.9; 496.6] ms.
3.1. PVV and RFA Algorithms’ Performance
The average FC window identified by the IMU-based algorithms was 415.6 ± 185.0 [394.6; 436.5] ms for PVV and 456.0 ± 175.5 [436.1; 475.9] ms for RFA.
The PVV algorithm showed a higher median offset than RFA for IC detection (16.7 ms vs. 10.2 ms) with comparable IQR and a substantially higher offset for TO (102.8 ms vs. 20.4 ms) (Table 1). Both algorithms failed to detect IC and TO in one specific file (1 trial out of 257), due to the absence of a recognizable pattern.
From the Bland–Altman analysis (Figure 3) and the median offsets, both the PVV and RFA algorithms showed a tendency to detect IC events later (negative offset) and TO events earlier (positive offset) than the reference system. Narrower limits of agreement for the RFA algorithm compared to the PVV were noted. RFA exhibited a higher mean offset for IC detection (−24.7 ms vs. −9.8 ms). The number of outliers ranged between 10 and 14 (less than 5.4% of trials) for both PVV and RFA algorithms, in both IC and TO detection.
The Linear Mixed-Effects model (Table 2) revealed that PVV offset was not statistically explained by any factor (p = 0.822 for IC; p = 0.465 for TO). In contrast, RFA offset (R^2^-adjusted = 0.071–0.072, p < 0.001) was explained by sex for IC detection (β = 3.242, p < 0.001), with male participants showing higher error and by task for TO detection (β = −3.785, p < 0.001), with a lower error observed in COD tasks. No between-subject variability was observed. Negative correlation was observed between acceleration magnitude and RFA error at IC (r = −0.33, p < 0.001), whereas no significant correlation was found at TO. No significant correlation was found between movement speed and PVV offset at both IC and TO (Appendix A).
The average resultant acceleration of the foot at the instant of IC, computed across all trials, was 94.6 ± 36.8 m/s^2^. In 45 out of 257 trials, the resultant foot acceleration at IC was below 57.8 m/s^2^, corresponding to one standard deviation below the mean across all trials. In these trials, PVV showed better performance than RFA (median offset of 53.7 ms vs. 77.8 ms) in detecting IC.
3.2. Algorithm 3: Hybrid
The average FC window identified by the hybrid IMU-based algorithms was 465.7 ± 180.7 [445.2; 486.2] ms.
To optimize FCD accuracy, a hybrid approach was developed based on the strengths of both algorithms (Figure 4). According to the single algorithms’ performance (Table 1), the hybrid algorithm primarily relies on RFA for detecting both IC and TO. If RFA fails to identify a valid foot contact window, PVV serves as a fallback. Additionally, when the magnitude of foot acceleration at IC is below 60 m/s^2^ (approximated from 57.8 m/s^2^, see algorithms’ performance above), the IC detected by RFA is replaced with the IC identified by PVV, while TO detection remains based on RFA.
As shown in Table 1, the hybrid algorithm achieved a median offset of −5.6 ms (IQR = 70.4 ms) for IC and 20.4 ms (IQR = 78.7 ms) for TO detection, outperforming the other two algorithms. Bland–Altman analysis (Figure 3) further confirmed the improved agreement with the reference system, showing for IC detection a reduced mean offset compared with both PVV and RFA (−8.6 ms vs. −9.8 ms for PVV and −24.7 ms for RFA) and for TO detection a reduced mean offset relative to PVV (17.6 ms vs. −105.6 ms) and comparable offset to RFA. The Linear Mixed-Effects analysis did not reveal a statistically significant model for IC (p = 0.205), whereas the TO model was statistically significant (R^2^ = 0.071, p < 0.001), with the DEC task (β = −3.785, p < 0.001) being associated with an increase in error (Table 2). No between-subject variability was observed.
4. Discussion
The present study developed and validated a novel hybrid algorithm that delivers robust and reliable IMU-based FCD during high-dynamic sports movements. The algorithm accurately identified IC and TO events, demonstrating median temporal offsets within 20 milliseconds relative to force platform measurements, the established gold standard. This level of precision confirms the algorithm’s capability to capture the critical phases of foot–ground interaction and is well within the 40–45 millisecond window reported in the literature between initial contact and the injury frame in high-dynamic tasks [22,35,36]. This indicates that the proposed algorithm is well suited for real-world field applications, offering the precision required for accurate biomechanical assessments of injury risk and performance in high-dynamic sports.
Among the initially tested approaches (Algorithms 1 and 2), the RFA algorithm was overall more accurate than PVV, especially for TO detection, but it was sensitive to low accelerations (<60 m/s^2^), resulting in decreased event detection reliability under these conditions. In contrast to previous studies reporting a significant correlation of IMU-based algorithms with speed in walking and running tasks [16,17], no such correlation was observed for the PVV algorithm. This is probably due to the high-dynamic and non-linear COD and DEC tasks analyzed in this study, which introduce greater subject variability in PVV signals, reducing their direct relationship with speed [37,38,39].
The hybrid algorithm (Algorithm 3) was designed to combine the strengths of the two previous literature-based ones, reducing detection errors and improving robustness. Minimal influence of co-factors was noted, with less than 10% explained variance in all models, suggesting that the algorithm is relatively stable across participants and conditions, despite varying anthropometric characteristics and different biomechanics. Task type, instead, significantly affected TO detection, suggesting that specific movement patterns may impact FCD performance. These findings highlight the need for task-specific algorithm adaptations to enhance generalizability across diverse movement profiles.
The developed algorithm, as implemented, potentially allows for the detection of multiple consecutive footsteps during high-dynamics movements and specifically detects the foot contact window of interest in the analyzed task, enabling reliable IMU-based biomechanical analysis for both performance and clinical field applications. The ability to accurately identify foot contact windows using wearable IMUs in real-world conditions represents a practical and accessible alternative to force platforms, especially for researchers or embedded scientists working in rehabilitation or sports settings where access to advanced laboratory equipment is limited or not feasible [6,40].
Some limitations should be acknowledged. First, the participants represented a relatively small cohort of young, healthy, and competitive athletes, which may prevent the findings from being generalized to clinical populations such as individuals with musculoskeletal impairments and altered motion patterns. Nevertheless, it is worth noting that the sample size was larger than the average reported in comparable studies using IMU-based methodologies [41]. Second, the thresholds and detection rules for both the PVV and RFA algorithms were tailored to the specific characteristics of the two movement tasks. While this approach allowed task-specific optimization, it may limit the applicability of the algorithm to other high-dynamic movements with different signal patterns. However, cutting movements and sprints, such as the COD and DEC tasks selected for this study, cover a conspicuous portion of high-dynamics movement tested on the field, e.g., in the late phase rehabilitation in athletes who underwent ACL reconstruction. These movements are associated with high mechanical stress on the knee and an increased risk of injury or re-injury [20]. Therefore, the proposed algorithm for FCD has the potential to support objective and ecological assessments of movement quality and readiness for return-to-sport, offering valuable insights for clinicians and practitioners involved in rehabilitation and performance monitoring.
5. Conclusions
An IMU-based algorithm integrating pelvis vertical velocity and resultant foot acceleration signals was developed and rigorously validated for foot contact detection during high-dynamic sports movements. The algorithm demonstrates strong reliability and offers a robust alternative to force platforms, enabling accurate detection of foot contact events and the analysis of multidirectional movements in ecological sports environments.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Dos’Santos T. Thomas C. Mc Burnie A. Donelon T. Herrington L. Jones P.A. The Cutting Movement Assessment Score (CMAS) Qualitative Screening Tool: Application to Mitigate Anterior Cruciate Ligament Injury Risk during Cutting Biomechanics 202118310110.3390/biomechanics 1010007 · doi ↗
- 2Mausehund L. Krosshaug T. Knee Biomechanics During Cutting Maneuvers and Secondary ACL Injury Risk: A Prospective Cohort Study of Knee Biomechanics in 756 Female Elite Handball and Soccer Players Am. J. Sports Med.2024521209121910.1177/0363546524123425538459717 PMC 10986153 · doi ↗ · pubmed ↗
- 3Di Paolo S. Viotto M. Mendicino M. Valastro C. Grassi A. Zaffagnini S. Testing ACL-Reconstructed Football Players on the Field: An Algorithm to Assess Cutting Biomechanics Injury Risk Through Wearable Sensors Sports 20251339110.3390/sports 1311039141295774 PMC 12655897 · doi ↗ · pubmed ↗
- 4Weir G. Alderson J. Smailes N. Elliott B. Donnelly C. A Reliable Video-Based ACL Injury Screening Tool for Female Team Sport Athletes Int. J. Sports Med.20194019119910.1055/a-0756-965930630192 · doi ↗ · pubmed ↗
- 5Krosshaug T. Nakamae A. Boden B.P. Engebretsen L. Smith G. Slauterbeck J.R. Hewett T.E. Bahr R. Mechanisms of Anterior Cruciate Ligament Injury in Basketball: Video Analysis of 39 Cases Am. J. Sports Med.20073535936710.1177/036354650629389917092928 · doi ↗ · pubmed ↗
- 6Camomilla V. Bergamini E. Fantozzi S. Vannozzi G. Trends Supporting the In-Field Use of Wearable Inertial Sensors for Sport Performance Evaluation: A Systematic Review Sensors 20181887310.3390/s 1803087329543747 PMC 5877384 · doi ↗ · pubmed ↗
- 7Di Paolo S. Gokeler A. Benjaminse A. Zaffagnini S. Bragonzoni L. On-Field Kinematics of Cut Maneuvers in Football Players: Are Wearable Sensors Reliable for Assessing Anterior Cruciate Ligament Injury Risk?J. Sports Sci.2025431256126610.1080/02640414.2025.249301240254854 · doi ↗ · pubmed ↗
- 8Renshaw A. Goodwin P.C. Injury Incidence in a Premier League Youth Soccer Academy Using the Consensus Statement: A Prospective Cohort Study BMJ Open Sport Exerc. Med.20162 e 00013210.1136/bmjsem-2016-000132 PMC 512541727900186 · doi ↗ · pubmed ↗
