Skip to main content
PLOS ONE logoLink to PLOS ONE
. 2020 Jun 3;15(6):e0233266. doi: 10.1371/journal.pone.0233266

Automatic hoof-on and -off detection in horses using hoof-mounted inertial measurement unit sensors

M Tijssen 1,*, E Hernlund 2, M Rhodin 2, S Bosch 3,4, J P Voskamp 5,6, M Nielen 1, F M Serra Braganςa 6
Editor: Chris Rogers7
PMCID: PMC7269263  PMID: 32492034

Abstract

For gait classification, hoof-on and hoof-off events are fundamental locomotion characteristics of interest. These events can be measured with inertial measurement units (IMUs) which measure the acceleration and angular velocity in three directions. The aim of this study was to present two algorithms for automatic detection of hoof-events from the acceleration and angular velocity signals measured by hoof-mounted IMUs in walk and trot on a hard surface. Seven Warmblood horses were equipped with two wireless IMUs, which were attached to the lateral wall of the right front (RF) and hind (RH) hooves. Horses were walked and trotted on a lead over a force plate for internal validation. The agreement between the algorithms for the acceleration and angular velocity signals with the force plate was evaluated by Bland Altman analysis and linear mixed model analysis. These analyses were performed for both hoof-on and hoof-off detection and for both algorithms separately. For the hoof-on detection, the angular velocity algorithm was the most accurate with an accuracy between 2.39 and 12.22 ms and a precision of around 13.80 ms, depending on gait and hoof. For hoof-off detection, the acceleration algorithm was the most accurate with an accuracy of 3.20 ms and precision of 6.39 ms, independent of gait and hoof. These algorithms look highly promising for gait classification purposes although the applicability of these algorithms should be investigated under different circumstances, such as different surfaces and different hoof trimming conditions.

Introduction

Gait analysis is an important element for the understanding of equestrian sport and can be performed by examining gait characteristics and body segment positions of the horse while moving. Gaits can be distinguished by their foot-fall pattern in addition to knowledge about the duration of the support phase compared to the whole stride duration of one leg [1]. For gait classification, the fundamental locomotion characteristic is the timing of hoof placement, i.e. hoof-on and hoof-off events from all limbs. These events can be examined visually but due to the limitations of the temporal resolution of the human eye [2] there are limitations to how well these events can be distinguished. Instead, objective measurement tools such as force plates, optical motion capture (OMC) systems and inertial measurement units (IMUs) are used [3].

In general, the force plate is considered the gold standard for kinetic gait analysis. With this method, hoof impacts can be registered from the vertical force signal by applying a threshold which is subjective. Furthermore, data collection is time consuming [4] and this method can only be used in a laboratory settings. In addition, multiple consecutive strides can only be measured with a force measuring treadmill and by force measuring shoes [3], which can alter the kinematics [5, 6]. OMC systems and IMUs can also be used to measure consecutive strides and OMC systems are considered the gold standard for kinematic gait analysis. However, these systems are expensive and not easy to relocate due to the significant number of cameras and infrastructure needed. Therefore, OMC systems have limited usefulness in field conditions [7]. IMUs can easily be used in field conditions because they are portable, wireless and are becoming relatively cheap. Consequently, IMUs improve the possibilities for gait analysis in field conditions.

Previous studies investigated the accuracy and precision of IMUs compared with the force plate [8, 9] and OMC systems [7, 1012] and showed the potential of IMUs for gait analysis and classification. However, analysis of the data and extraction of hoof-events was performed manually or semi-manually which is time consuming and subjective. Time reduction and objectivity can be gained by developing an algorithm for automatic detection of hoof-on and hoof-off events from the output of the IMUs [3]. The output of the IMUs consists of tri-axial acceleration and angular velocity signals. Recently, one study was performed to evaluate multiple algorithms for hoof-event detection and validation against the force plate [13]. In this study, distal limb mounted IMUs were used and the best performing algorithm of this study showed an accuracy between -19.7 and 17.6 ms and a precision between 7.5 and 31.0 ms, depending on gait, limb and hoof-event [13]. The accuracy found in that study was sufficient for gait classification, although the precision was less satisfactory. The performance of this algorithm might be improved by attaching the IMUs closer to the location of impact, i.e. the hoof of the horse, hence limiting the attenuation of the vibrations through the limb [14, 15].

During this study, two algorithms for automatic hoof- events detection based on the acceleration and angular velocity signals measured by hoof-mounted IMUs in walk and trot on a hard surface were developed. For gait classification, the needed accuracy and precision for hoof-event detection are not yet investigated. However, estimations of stance and swing durations in addition to knowledge about the timing of lateral and diagonal hoof placement are essential. We therefore aim for accuracies and precisions similar or better compared with the study of Braganςa et al. (2017) [13].

Materials and methods

At the start of this study, force plate and IMU data were visually examined. The IMU data showed distinctive peaks coinciding with the hoof-on and hoof-off times measured with the force plates, as previous described by Olsen et al. [9] and depicted in Fig 1. During the current study, we developed two algorithms to detect these distinctive peaks from the IMU data and applied a more advanced method to determine the hoof-on and hoof-off times from the force plate. These contact times of the force plate were used for the internal validation of the algorithms.

Fig 1.

Fig 1

Generic illustration of the movement of the hoof (A), modified from Witte et al. [8], and the signals of the acceleration (B), angular velocity (C) and vertical force (D). The hoof-on and hoof-off events are depicted with the vertical dashed lines and the dots show the detected hoof-on and hoof-off events from the different signals. These hoof-events occur at the start and end of the stance phase, shown as the period not underlined by a dark beam. The horizontal dashed line in D shows the threshold used to detect the hoof-events from the force signal.

Data collection

For the current study, we used data that was collected for a previous study [13]. Measurements were performed on seven Warmblood horses (Equus ferus caballus; for further details see S1 Appendix) in the Equine Clinic of Utrecht University at the Department Clinical Sciences.

All horses were equipped with ProMove-mini wireless IMUs (Inertia-Technology B.V., Enschede, The Netherlands; for further details see S1 Appendix) which measured the acceleration, low-g acceleration with a range of ±16 g and high-g acceleration with a range of ±400 g, and angular velocity, with a range of ±2000°/s, and sampling frequency of 200 Hz. Two IMUs were attached to the lateral wall of the right front (RF) and hind (RH) hooves with double sided and normal tape as can be seen in Fig 2.

Fig 2. Location of inertial measurement units (IMUs) on the hoof.

Fig 2

The location of the IMUs is indicated with red arrows, on the lateral quarter of the right front and hind hoof with reflective markers on both sides (lateral heel, lateral toe and lateral coronet) used for another study [13].

All horses were walked and trotted over a force plate (Z4852C, Kistler, Winterthur, Switzerland; for further details see S1 Appendix) to collect at least five valid force plate impacts for both front and hind hooves; each valid impact will be considered a trial in the further analysis. An impact was considered valid if two criteria were met: 1) only one entire hoof was placed on the force plate and 2) the horse was led in a straight line with a constant speed of 0.8 to 1.4 m/s for walk and 1.7 to 2.7 m/s for trot.

Three reflective markers of the OMC system (Qualisys AB, Motion Capture System, Göteborg, Sweden; for further details see S1 Appendix) were glued to lateral heel, lateral toe and lateral coronet of each hoof as can be seen in Fig 2. The collected OMC data were used in another study for break-over detection [16] but was needed for time synchronization in the current study.

The force plate and OMC system were time synchronized by a hardware connection ([13]; for further details see S1 Appendix). Time synchronization of the OMC system and the IMUs was accomplished by calculation of a cross-correlation between the angular velocity signal of the IMUs and the position signal of the reflective markers of the OMC system ([7, 13]; for further details see S1 Appendix).

The original horse measurements were performed in compliance with the Dutch Act on Animal Experimentation and approved by the local ethics committee of Utrecht University. All horses were present for teaching purposes and these measurements were not considered additional animal experiments within the Dutch law at that time. Therefore, no specific experiment number is available.

Data analysis

Force plate data

The collected force plate data were preprocessed by Inertia Technology B.V.. The valid impacts were selected and cut into different trials; each trial consisted of at least one valid impact and sometimes two for consecutive impacts of the RF and RH hoof.

In Fig 1D, the vertical force signal of one valid impact can be seen. The dotted lines show the hoof-on and hoof-off time points, for the detection of which a threshold was used. This threshold value was calculated from the signal mean (x) and signal standard deviation (s) of the baseline, i.e. the period before the valid impact happened. To distinguish the impacts from the baseline, the average of the force signal was calculated with a moving mean window with a length of 130 ms and the baseline was determined for average values below 100 N. For every trial, a threshold value (T) was determined by:

T=x+2.58×s

The standard deviation was multiplied by 2.58 resulting in detection of the upper 0.5% of a normally distributed signal, to ensure that only high impacts are detected.

Hoof-on was determined as the first time point that the vertical force exceeded the threshold value. Hoof-off was determined as the first time point that the vertical force dropped below the threshold value.

IMU data

The collected IMU data were preprocessed by Inertia Technology B.V. and cut into different trials corresponding with the force plate trials. The collected IMU data consisted of two tri-axial acceleration signals, a low g acceleration signal and a high g acceleration signal, and one tri-axial angular velocity signal. The two acceleration signals were fused into one tri-axial acceleration signal that was used during the current study [7]. Further data analysis was performed in MATLAB (version R2017a, The MathWorks Inc., Natick, Massachusetts, USA).

The preprocessed tri-axial acceleration and angular velocity signals were further prepared for analysis in two steps: 1) offset drift was removed from the acceleration signal, and 2) the root of the sum of squares, Euclidean norm, was calculated of the tri-axial acceleration and angular velocity signals resulting in a one-directional acceleration and angular velocity signal. The Euclidean norm was used to reduce the calculation time in contrast to calculating a horse specific rotation matrix [11] and to cancel out artefacts due to wrong alignment of the sensor on the hoof. This will make the algorithms better applicable in field setting.

The preprocessed signal is shown in Fig 3A. To distinguish consecutive steps from each other, the stance phase and the swing phase of a limb were estimated by calculating the variance of the acceleration and angular velocity signals. The variance was calculated by applying a moving variance function over the two signals with window length of 130 ms. The variance of the angular velocity was higher than the variance of the acceleration signal and to accommodate for this we downscaled the variance of the angular velocity with a factor of twenty-five. The stance phase was determined when both signals had a variance below five, the remaining time points were allocated to the swing phase. The window length, downscale factor and variance threshold were kept the same for all horses and trials. These values were chosen to ensure that: 1) all time points of the swing phase were allocated to the estimated swing phase, and 2) every swing phase was succeeded by a stance phase. This procedure resulted in an estimated swing phase longer than the real swing phase to make sure that hoof-on and hoof-off events were included in the roughly estimated swing phase. The estimated swing phase is indicated by the box in Fig 3B.

Fig 3. Generic illustration of an IMU signal and the steps performed by both algorithms.

Fig 3

The preprocessed signal is indicated in A. The estimated swing phase is indicated with the box in B. For the angular velocity signal, the peaks within one estimated swing phase are detected (B). From these peaks, peaks were selected if the peak height or prominence was bigger than the mean peak height or prominence, or both (C). Thereafter, the peak closest to the start of the estimated swing phase was selected as the hoof-off time point and the peak closest to the end of the estimated swing phase was selected as the hoof-on time point (D). For the acceleration signal, these steps were performed for the first and second half of the estimated swing phase, indicated with the dotted boxes in B.

Next, we determined the hoof-on and hoof-off from the acceleration and angular velocity signal separately by developing two algorithms.

The algorithm for the angular velocity signal assessed every swing phase separately. Peaks were detected, indicated by the dots in Fig 3B, and the mean peak height and mean peak prominence were calculated from these peaks. The peak prominence depicted how much the peak stands out due to its intrinsic height and location relative to the other peaks. Peaks were selected if the peak was higher than the mean peak height or the prominence was bigger than the mean prominence, or both. These selected peaks are indicated by the dots in Fig 3C. Hoof-off was determined as the time point corresponding with the peak closest to the start of the estimated swing phase. For hoof-on detection, only the detected peaks of the second half of the swing phase were assessed. Again, the mean peak height and mean peak prominence were calculated. Peaks were selected if the peak was higher than the mean peak height or the prominence was bigger than the mean prominence, or both. Hoof-on was determined as the time point corresponding with the peak closest to the end of the estimated swing phase. The peaks selected as hoof-off and hoof-on are indicated with dots in Fig 3D.

The algorithm for the acceleration signal assessed the signal in a similar manner as described above. However, only the peaks detected in the first half of the swing phase were assessed for hoof-off detection and the peaks detected in the second half of the swing phase were assessed for hoof-on. The first and second half of the swing phase are indicated by the dotted boxes in Fig 3B. After this step, peaks were detected, indicated by the dots in Fig 3B, and the mean peak height and mean peak prominence were calculated from these peaks. Peaks were selected if the peak was higher than the mean peak height or the prominence was bigger than the mean prominence, or both. These selected peaks are indicated by the dots in Fig 3C. Hoof-off was determined as the time point corresponding with the peak closest to the start of the estimated swing phase. Hoof-on was determined as the time point corresponding with the peak closest to the end of the estimated swing phase. The peaks selected as hoof-off and hoof-on are indicated with dots in Fig 3D.

Stride parameter estimation

With the determined hoof-on and hoof-off time points the following stride parameters were determined:

  • Stance duration–time between hoof-on and hoof-off of the same hoof

  • Hoof-on time difference–time difference between the hoof-on detection of both algorithms were assessed with the force plate hoof-on detection separately for a given hoof

  • Hoof-off time difference–time difference between the hoof-off detection of both algorithms were assessed with the force plate hoof-off detection separately for a given hoof

Performance evaluation

The normality of the stride parameters was visually checked by examining the QQ plot and histogram in R (version 1.1.414, RStudio Inc, Boston, Massachusetts, USA). Thereafter, the distribution of the hoof-on and hoof-off time differences was evaluated to interpret the results and the performance of both algorithms was evaluated by Bland Altman and linear mixed model analysis.

Bland Altman

The agreement between the acceleration algorithm and the force plate and the angular velocity algorithm and the force plate was evaluated for the stance duration. This evaluation compared two different methods to measure the stance duration and therefore a Bland Altman analysis was performed with the “BlandAltmanLeh” package [17].

The results of this analysis showed the mean difference in stance duration between the algorithms and the force plate and the standard deviation (SD) of these differences. These results were deemed better if closer to zero since this indicates a small and consistent difference between the algorithms and force plate, i.e. a good accuracy and precision. A positive mean indicates a shorter stance duration measured with the force plate and a negative mean indicates a longer stance duration measured with the force plate compared with the algorithms. In addition, the upper and lower confidence interval limits were used to calculate the width of the confidence interval. The width of the confidence interval was preferred to be small which means that the differences between the algorithms and the force plate were consistent.

Linear mixed model analysis

A linear mixed model analysis was performed to estimate the effect of horse, hoof, gait and trial on the performance of the algorithms for all stride parameters. This analysis was performed with the “lme4” package [18]. The independent variables of this analysis were the effect of hoof, gait, number of analyzed trials and interaction term between hoof and gait. The model is described by:

Yijklμ+hoofi+gaitj+trialk+(hoofxgait)ij+(1|horse)+ɛijkl

where Yijkl is the predicted value of the ijkl-th record, μ is the overall mean, hoofi is the effect of hoof (i can be RF or RH hoof), gaitj is the effect of gait (j can be walk or trot), trialk is the effect of trial (k can be 1 until 9 depending on the number of trials collected for a horse), (hoof x gait)ij is the effect of the interaction between hoofi and gaitj and ɛijkl is the residual error term associated with the ijkl-th record. A random intercept for every horse was included in the model.

Model reduction was applied with the Akaike’s information criterion and the model with the lowest Akaike’s information criterion values was selected according to Occam’s Razor principle. The residuals of each selected model were visually inspected and checked for any deviations of normality and homoscedasticity. The predicted value of the stance duration and the time difference between the algorithms and the force plate (Y) were calculated for every combination of hoofi and gaitj (“emmeans” package [19]). In addition, the lower and upper limits were calculated of the 95% confidence interval (“MASS” package [20]).

The performance of these algorithms was evaluated based on the predicted values and width of the confidence intervals. For the stance durations, the predicted values of both algorithms were deemed better if closer to the predicted value of the force plate and the width of the confidence interval was preferred to be small, which indicates a good precision. For the hoof-on and hoof-off time differences between the algorithms and the force plate, the predicted value was deemed better if closer to zero since this indicates a small difference between the algorithms and force plate, i.e. a good accuracy. A positive predicted value indicates a delayed detection by the algorithms and a negative predicted value indicates a too early detection by the algorithms compared with the force plate measurement. The width of the 95% confidence interval was preferred to be small, which means that the differences between the algorithms and the force plate were consistent, i.e. a good precision. Schematic representations of these predicted values were used to evaluate the accuracy and precision of the algorithms.

Results

A total of 147 trials were analyzed: 75 trials of the right front (RF) hoof (36 in walk and 39 in trot) and 72 trials of the right hind (RH) hoof (34 in walk and 38 in trot). In Table 1 an overview is given of the number of the analyzed trials and hoof and gait characteristics. Preprocessed data of one measurement in trot can be seen in S1 Fig. Stance durations were calculated and can be found in S1 Table. The stride parameters were normally distributed.

Table 1. Number of analyzed trials collected per horse, gait and hoof.

horse ID 1 2 3 4 5 6 7 total
Walk RF 5 5 5 5 5 6 5 36
RH 5 5 5 4 5 5 5 34
Trot RF 5 5 6 5 8 5 5 39
RH 7 5 5 5 5 6 5 38
22 20 21 19 23 22 20 147

The distributions of the time differences for hoof-on detection are illustrated in Fig 4A for the acceleration algorithm and in Fig 4B for the angular velocity algorithm. The distribution in both figures show higher values for the RH hoof in walk and lower values for the RF hoof in trot. The distribution in Fig 4A has a mean around 7 ms in contrast to the distribution in Fig 4B which has a mean of 16.5 ms. Furthermore, in Fig 4A there are no outliers in contrast to Fig 4B in which the distribution has outliers around -75 and 50 ms.

Fig 4. Distributions of time differences between both algorithms and the force plate for hoof-on and hoof-off detection.

Fig 4

Time differences for hoof-on detection are depicted in the upper row and time differences for hoof-off are depicted in the bottom row. The different hoof/gait combinations are depicted with their own color.

The distributions of the time differences for hoof-off detection are illustrated in Fig 4C for the acceleration algorithm and in Fig 4D for the angular velocity algorithm. The distribution in Fig 4C has a lower mean, around 0.78 ms, compared to the distribution in Fig 4D which has a mean of 3.2 ms. In Fig 4C, the distribution has outliers around -57.5, 55 and 150 ms in contrast to the distribution in Fig 4D which has outliers around -50 and 50 ms. For both models, no clear distinction could be made between the different hoof/gait combinations.

Bland Altman analysis

The results in Table 2 show that the mean difference and SD were closer to zero for the angular velocity algorithm, except for the SD of the RF hoof in trot, which was higher compared to the acceleration algorithm. Also, the confidence intervals were smaller for the angular velocity algorithm, except for the RF hoof in trot which is caused by a higher SD. These results indicate that the agreement with the force plate was, in general, better for the angular velocity algorithm for the stance duration. Furthermore, the mean difference was negative for all groups, except for the RF hoof in trot, which means that shorter stance durations were measured with both algorithms compared to the force plate.

Table 2. Bland Altman results for stance duration.

Stance duration
mean (ms) SD (ms) lower CI (ms) upper CI (ms)
acceleration walk RF -2.67 3.76 -10.05 4.71
RH -4.18 3.52 -11.08 2.72
trot RF -1.64 3.84 -9.17 5.89
RH -2.39 6.18 -14.52 9.73
angular velocity walk RF -1.33 3.20 -7.60 4.94
RH -2.88 2.86 -8.48 2.72
trot RF 0.74 4.98 -9.01 10.50
RH -1.66 4.52 -10.52 7.20

The mean differences in stance duration between the algorithms and force plate in milliseconds (ms) and the standard deviation (SD) of this mean difference in ms are deemed better if closer to zero. The 95% confidence interval was preferred to be small.

Linear mixed model analysis

The residuals of all selected linear mixed models were normally distributed and did not show homoscedasticity.

Hoof-on detection

The results presented in Table 3 are the models with the lowest AIC values. The predicted values of the time differences between the acceleration algorithm and the force plate (model 1) were best explained with hoof, gait, trial and interaction term as fixed effect and horse as random effect. For this model, the predicted values and lower and upper confidence interval limits were averaged over the number of analyzed trials. For the time differences between the angular velocity and the force plate (model 2), hoof and gait were needed as fixed effects and horse as random effect to explain the data best.

Table 3. Linear mixed model results for the time differences in hoof-on and hoof-off detection.
Hoof-on time differences
predicted value (ms) lower CI (ms) upper CI (ms)
Model 1: acceleration walk RF 17.93 9.33 26.52
RH 23.96 15.35 32.57
trot RF 13.77 5.20 22.34
RH 14.84 6.27 23.41
Model 2: angular velocity walk 11.06 4.13 17.99
trot 3.55 -3.35 10.45
RF 2.39 -4.52 9.30
RH 12.22 5.29 19.14
Hoof-off time differences
predicted value (ms) lower CI (ms) upper CI (ms)
Model 3: acceleration 3.20 0.05 6.34
Model 4: angular velocity 0.75 -3.83 5.32

The predicted values of the time difference between both algorithms relative to the force plate are determined in milliseconds (ms) and are deemed better if closer to zero. The 95% confidence interval was preferred to be small.

The results in Table 3 show that the predicted values of the time differences were smaller for the angular velocity algorithm (model 2) compared with the acceleration algorithm (model 1). All predicted values were positive which indicates a delayed detection by both algorithms compared with the force plate. Also, the confidence intervals were smaller for the angular velocity algorithm.

In Fig 5A, the predicted values and their confidence intervals of model 1 are shown for every hoof/gait combination because this model needs an interaction term to explain the data. In Fig 5B, the predicted values and their confidence intervals of model 2 are shown for walk versus trot and RF versus RH hoof because this model did not need an interaction term to explain the data. The predicted values are located closer to zero for model 2 and their confidence intervals are smaller.

Fig 5. Schematic representation of the predicted values of the time differences and their 95% confidence intervals.

Fig 5

The dots indicate the predicted value for a certain hoof/gait combination and the 95% confidence intervals are shown by the whiskers. The dashed line indicates a predicted time difference of 0 ms.

These results indicate that the agreement with the force plate was, in general, better for the angular velocity algorithm with an accuracy between 2.39 and 12.22 ms depending on the gait and hoof and a precision of around 13.83 ms for the hoof-on detection.

Hoof-off detection

The predicted values of the time differences between the acceleration algorithm and the force plate (model 3) were best explained with an empty model with no random effect. For the time differences between the angular velocity algorithm and the force plate (model 4), an empty model with random effect for horse was needed to explain the data best.

The results in Table 3 show that the predicted value was smaller for the angular velocity algorithm (model 4) compared with the acceleration algorithm (model 3). Both predicted values are positive which indicates a delayed detection by both algorithms compared with the force plate. The confidence interval was smaller for the acceleration algorithm. In Fig 5C, a schematic representation of these findings is shown.

These results indicate that the agreement with the force plate was better for the acceleration algorithm with an accuracy of 3.20 ms and precision of 6.39 ms for hoof-off detection.

Stance duration

For all three models, the predicted values for the stance duration were best explained when hoof, gait and interaction term were included as fixed effect and horse as random effect in the model. The results in Table 4 show that the predicted values of both algorithms are smaller compared with the force plate, except for the RF hoof in trot of the angular velocity algorithm. The predicted values determined with the acceleration algorithm are the lowest. Also, the width of the confidence intervals of both algorithms were smaller than the intervals of the force plate, except for the RF hoof in trot of the angular velocity algorithm. These results agree with the results of the Bland Altman analysis.

Table 4. Linear mixed model results for stance duration.
Stance duration
predicted value (ms) lower CI (ms) upper CI (ms)
acceleration walk RF 779.71 759.13 800.28
RH 777.97 757.18 798.76
trot RF 337.06 316.73 357.39
RH 302.57 282.17 322.97
angular velocity walk RF 786.53 763.98 809.08
RH 784.63 761.94 807.32
trot RF 349.01 326.61 371.41
RH 306.32 283.88 328.76
force plate walk RF 793.34 771.89 814.80
RH 799.19 777.60 820.78
trot RF 345.32 324.02 366.61
RH 314.96 293.62 336.30

The predicted value for the stance duration is determined in milliseconds (ms) for both algorithms and the force plate. The 95% confidence interval was preferred to be small.

Discussion

Two algorithms are presented to automatically detect hoof-events from the acceleration and angular velocity signals measured with hoof-mounted IMUs in horses walking and trotting on hard ground. Results of internal validation with the force plate showed that, for the hoof-on detection, the angular velocity algorithm was the most accurate with an accuracy between 2.39 and 12.22 ms and a precision of around 13.80 ms, depending on gait and hoof. For hoof-off detection, the acceleration algorithm was the most accurate with an accuracy of 3.20 and precision of 6.39 ms, independent of gait and hoof.

From the results we can conclude that hoof-on is better detected by the angular velocity algorithm which might be explained by the fact that the hoof will slide forward after vertical impact on a hard surface. The forward slide results in a silent angular velocity signal while the acceleration is not silent. Also, a difference in accuracy between the RF hoof (2.39 ms) and RH hoof (12.22 ms) was found which can be explained by the fact that horses place their front and hind hooves differently on the ground. In previous studies, also different landing and braking characteristics are found for hind, front, leading and trailing limbs [2123]. Furthermore, the front hooves bounce more at impact in contrast to the hind hooves, which slide more at impact [24]. For the hoof-off detection, the acceleration algorithm performed better which might be explained by the gradual hoof rotation prior to hoof-off. This gradual rotation results in an increase in the angular velocity signal while the acceleration signal is more strongly increased at the actual hoof-off moment. These phenomena could be different and variable on surfaces with other properties. Less firm surface material, such as sand would allow penetration of the hoof into the substrate. If the surface offers shear resistance the hoof would slide less forward [25]. This could alter the appearance of the angular velocity versus the acceleration signal. Thomason and Peterson (2008) described a more evident forward push when the surface is smooth and firm [26]. Since these algorithms are only tested on data measured on a hard surface, more extensive studies should be performed in to validate it for other surfaces.

In a previous study by Braganςa et al. (2017), accuracy and precision for hoof-on were slightly better for the RH hoof and similar for the RF hoof. For hoof-off detection, the accuracy and precision found in this study were better [13]. It was expected to find a better algorithm performance during this study due to the use of hoof-mounted IMUs. However, this expectation was only met for the hind hoof and not for the front hoof.

In another study, algorithms were developed to detect gait events from OMC data. Validation with the force plate showed an accuracy between -13.6 and 21.5 ms and a precision between 5.8 and 32.9 ms, depending on limb and gait [27], which is almost similar to the IMU algorithms of Braganςa et al. (2017) [13]. So, no clear distinction in performance could be made between algorithms developed for OMC data and IMU data. However, both studies validated these algorithms against the force plate.

In previous studies, reservations about the use of the force plate as gold standard for lameness detection are described [28, 29]. They reported that some parameters measured with the force plate should be considered less reliable than others [28, 29]. Furthermore, detection of stance duration was performed by using a threshold for the force plate signal. The use of a threshold value is arbitrary; therefore a trial specific threshold was calculated in the study of Clayton et al. (1999) [30] to eliminate the horse-specific aspects, such as walking speed and weight of the horse, and the effect of noise on the signal. Stance durations determined with the IMUs were shorter than the durations determined with the force plate which is probably caused by the threshold level used for the force plate signal since stance and swing phases are estimated from the IMU signals by calculating the variance of the signals. Also, other studies described differences in stance duration according to the threshold levels used for the force plate signal [4]. The reason that we chose to use the force plate as gold standard is that this system is used in most research facilities.

The OMC system used guarantees a relative precision of 1.9 mm [7] measuring the kinematics of the hoof and introduces different definitions of hoof-on and hoof-off such as toe-on, heel-on, toe-off and heel-off timings. Therefore, the OMC system might be a more appropriate technique to study the hoof movement and break-over phase more in detail. During this study, the break-over phase was also included in the analysis but is described elsewhere [16].

The needed accuracy and precision for gait classification are not yet determined. Stance duration are measured in different gaits at different speeds and the shortest stance duration reported was 103 ms in pace [31]. Therefore, an algorithm with an accuracy and precision smaller than 100 ms might be sufficient to detected foot-fall pattern and thus gait classification. For lameness detection however, a more accurate and precise algorithm is needed since the stance duration increases with 1% in both the affected and contralateral limbs for mild lameness. [32, 33].

Conclusion

Two algorithms are presented to automatically detect hoof-on and hoof-off from acceleration and angular velocity data measured with hoof-mounted IMUs in walk and trot on a hard surface. Internal validation against the force plate was performed. The results showed that for the hoof-on detection, the angular velocity algorithm was the most accurate with an accuracy between 2.39 and 12.22 ms and a precision of around 13.80 ms, depending on gait and hoof. For hoof-off detection, the acceleration algorithm was the most accurate with an accuracy of 3.20 ms and precision of 6.39 ms, independent of gait and hoof. These algorithms seem promising for gait classification, although a more extensive validation process should be performed. Also, the applicability of these algorithms should be investigated under different circumstances, such as different ground surfaces, gaits, speed and different hoof trimming conditions.

Supporting information

S1 Appendix. Additional information.

Document with additional information about the population, data collection and synchronization of all the measurement systems.

(DOCX)

S2 Appendix. Dataset.

Excel file with hoof-on, hoof-off and break-over data.

(XLSX)

S1 Table. Table with stance durations.

Table with stance durations as detected with the algorithms for acceleration, angular velocity and force plate.

(DOCX)

S1 Fig

Preprocessed signals of the vertical force (A), the acceleration (B) and angular velocity (C) signals of the IMU for one hoof from one measurement in trot. The hoof-on events are depicted with upward-pointing triangle markers and hoof-off events are depicted with downward-pointing triangle markers.

(TIF)

Acknowledgments

We would like to thank W. Back, M. Marin-Perianu and P.R. van Weeren for making this study possible. A special thanks to W. Back and P.R. van Weeren for the feedback on preliminary results of the current study and J. van den Broek for statistical guidance.

Data Availability

All relevant data are within the paper and its Supporting Information files.

Funding Statement

No external funding was utilized for the current analysis of the existing data. Indirect support was provided through salaries by the home institutions of all co-authors. Inertia-Technology B.V. provided support in the form of salary for author S. Bosch, Rosmark Consultancy provided support in the form of salary for author J.P. Voskamp, the specific roles of these authors are articulated in the ‘author contribution’ section. The funders did not have any additional role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.Hildebrand M. The Quadrupedal Gaits of Vertebrates. BioScience. 1989;39(11):766–75. [Google Scholar]
  • 2.Holcombe AO. Seeing slow and seeing fast: two limits on perception. Trends Cogn Sci. 2009;13(5):216–21. 10.1016/j.tics.2009.02.005 [DOI] [PubMed] [Google Scholar]
  • 3.Egan S, Brama P, McGrath D. Research trends in equine movement analysis, future opportunities and potential barriers in the digital age: A scoping review from 1978 to 2018. Equine Vet J. 2019:1–12. [DOI] [PubMed] [Google Scholar]
  • 4.Starke SD, Clayton HM. A universal approach to determine footfall timings from kinematics of a single foot marker in hoofed animals. PeerJ. 2015;3:e783 10.7717/peerj.783 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Barrey E, Galloux P, Valette JP, Auvinet B, Wolter R. Stride Characteristics of Overground versus Treadmill Locomotion in the Saddle Horse. Acta Anat. 1993;146:90–4. 10.1159/000147427 [DOI] [PubMed] [Google Scholar]
  • 6.Buchner HHF, Savelberg HHCM, Schamhardt HC, Merkens HW, Barneveld A. Kinematics of treadmill versus overground locomotion in horses. Veterinary Quarterly. 1994;16(sup2):87–90. [DOI] [PubMed] [Google Scholar]
  • 7.Bosch S, Serra Braganca F, Marin-Perianu M, Marin-Perianu R, van der Zwaag BJ, Voskamp J, et al. EquiMoves: A Wireless Networked Inertial Measurement System for Objective Examination of Horse Gait. Sensors (Basel). 2018;18(3). [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Witte TH, Knill K, Wilson AM. Determination of peak vertical ground reaction force from duty factor in the horse (Equus caballus). J Exp Biol. 2004;207(Pt 21):3639–48. 10.1242/jeb.01182 [DOI] [PubMed] [Google Scholar]
  • 9.Olsen E, Andersen PH, Pfau T. Accuracy and precision of equine gait event detection during walking with limb and trunk mounted inertial sensors. Sensors (Basel). 2012;12(6):8145–56. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Olsen E, Pfau T, Ritz C. Functional limits of agreement applied as a novel method comparison tool for accuracy and precision of inertial measurement unit derived displacement of the distal limb in horses. J Biomech. 2013;46(13):2320–5. 10.1016/j.jbiomech.2013.06.004 [DOI] [PubMed] [Google Scholar]
  • 11.Pfau T, Witte TH, Wilson AM. A method for deriving displacement data during cyclical movement using an inertial sensor. J Exp Biol. 2005;208(Pt 13):2503–14. 10.1242/jeb.01658 [DOI] [PubMed] [Google Scholar]
  • 12.Warner SM, Koch TO, Pfau T. Inertial sensors for assessment of back movement in horses during locomotion over ground. Equine Vet J Suppl. 2010(38):417–24. 10.1111/j.2042-3306.2010.00200.x [DOI] [PubMed] [Google Scholar]
  • 13.Braganca FM, Bosch S, Voskamp JP, Marin-Perianu M, Van der Zwaag BJ, Vernooij JCM, et al. Validation of distal limb mounted inertial measurement unit sensors for stride detection in Warmblood horses at walk and trot. Equine Vet J. 2017;49(4):545–51. 10.1111/evj.12651 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14.Willemen MA, Jacobs MWH, Schamhardt HC. In vitro transmission and attenuation of impact vibrations in the distal forelimb. Equine Exercise Physiology. 1999;5(30):245–8. [DOI] [PubMed] [Google Scholar]
  • 15.Gustas P, Johnston C, Roepstorff L, Drevemo S. In vivo tranmission of impact shock waves in the distal forelimb of the horse. Equine Vet J. 2001;33:11–5. [DOI] [PubMed] [Google Scholar]
  • 16.Tijssen M. Break-over detection using hoof-mounted inertial measurements units. Submitted to PLOS ONE. 2020b, companion paper. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Lehnert B. BlandAltmanLeh: Plots (Slightly Extended) Bland-Altman Plots. 2015. [Google Scholar]
  • 18.Bates D, Mächler M, Bolker B, Walker S. Fitting Linear Mixed-Effects Models Usinglme4. Journal of Statistical Software. 2015;67(1). [Google Scholar]
  • 19.Lenth R. emmeans: Estimated Marginal Means, aka Least-Squares Means. 2018. [Google Scholar]
  • 20.Venables WN, Ripley BD. Modern Applied Statistics with S. New York: Springer; 2002. [Google Scholar]
  • 21.Back W, Schamhardt HC, Savelberg HHCM, Van den Bogert AJ, Bruin G, Hartman W, et al. How the horse moves: 1. Significance of graphical representation of equine forelimb kinematics. Equine Vet J. 1995;27(1):31–8. 10.1111/j.2042-3306.1995.tb03029.x [DOI] [PubMed] [Google Scholar]
  • 22.Back W, Schamhardt HC, Savelberg HHCM, Van den Bogert AJ, Bruin G, Hartman W, et al. How the horse moves: 2. Significance of graphical representations of equine hind limb kinematics. Equine Vet J. 1995;27(1):39–45. 10.1111/j.2042-3306.1995.tb03030.x [DOI] [PubMed] [Google Scholar]
  • 23.Hernlund E, Egenvall A, Roepstorff L. Kinematic characteristics of hoof landing in jumping horses at elite level. Equine Vet J Suppl. 2010(38):462–7. 10.1111/j.2042-3306.2010.00187.x [DOI] [PubMed] [Google Scholar]
  • 24.Back W, Schamhardt HC, Hartman W, Barneveld A. Kinematic differences between the distal portions of the forelimbs and hind limbs of horses at the trot. American Journal Veterinary Research. 1995;56(11):1522–8. [PubMed] [Google Scholar]
  • 25.Hernlund E. Sport Surfaces in Show Jumping [Doctoral Thesis]. Uppsala: Swedish University of Agricultural Sciences; 2016.
  • 26.Thomason JJ, Peterson ML. Biomechanical and mechanical investigations of the hoof-track interface in racing horses. Vet Clin North Am Equine Pract. 2008;24(1):53–77. 10.1016/j.cveq.2007.11.007 [DOI] [PubMed] [Google Scholar]
  • 27.Boye JK, Thomsen MH, Pfau T, Olsen E. Accuracy and precision of gait events derived from motion capture in horses during walk and trot. J Biomech. 2014;47(5):1220–4. 10.1016/j.jbiomech.2013.12.018 [DOI] [PubMed] [Google Scholar]
  • 28.Clayton HM, Lynch JA, Clayton HM, Mullineaux DR. The reliability of force platform data from trotting horses. Equine and Comparative Exercise Physiology. 2005;2(2):129–32. [Google Scholar]
  • 29.Donnell JR, Frisbie DD, King MR, Goodrich LR, Haussler KK. Comparison of subjective lameness evaluation, force platforms and an inertial-sensor system to identify mild lameness in an equine osteoarthritis model. Vet J. 2015;206(2):136–42. 10.1016/j.tvjl.2015.08.004 [DOI] [PubMed] [Google Scholar]
  • 30.Clayton HM, Lanovaz JL, Schamhardt HC, Van Wessum R. The effects of a rider’s mass on ground reaction forces and fetlock kinematics at the trot. Equine Vet J. 1999;30:218–21. [DOI] [PubMed] [Google Scholar]
  • 31.Robilliard JJ, Pfau T, Wilson AM. Gait characterisation and classification in horses. J Exp Biol. 2007;210(Pt 2):187–97. 10.1242/jeb.02611 [DOI] [PubMed] [Google Scholar]
  • 32.Weishaupt MA, Wiestner T, Hogg HP, Jordan P, Auer JA. Compensatory load redistribution of horses with induced weight-bearing forelimb lameness trotting on a treadmill. Vet J. 2006;171(1):135–46. 10.1016/j.tvjl.2004.09.004 [DOI] [PubMed] [Google Scholar]
  • 33.Weishaupt MA, Wiestner T, Hogg HP, Jordan P, Auer JA. Compensatory load redistribution of horses with induced weightbearing hindlimb lameness trotting on a treadmill. Equine Vet J. 2004;36(8):727–33. 10.2746/0425164044848244 [DOI] [PubMed] [Google Scholar]

Decision Letter 0

Chris Rogers

25 Mar 2020

PONE-D-19-27743

Automatic hoof-on and -off detection in horses using hoof-mounted inertial measurement unit sensors

PLOS ONE

Dear Drs. Tijssen,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

We would appreciate receiving your revised manuscript by May 09 2020 11:59PM. When you are ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter.

To enhance the reproducibility of your results, we recommend that if applicable you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. For instructions see: http://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). This letter should be uploaded as separate file and labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. This file should be uploaded as separate file and labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. This file should be uploaded as separate file and labeled 'Manuscript'.

Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.

We look forward to receiving your revised manuscript.

Kind regards,

Chris Rogers

Academic Editor

PLOS ONE

Additional Editor Comments (if provided):

Thank you for your patience with this submission. I apologize for the delay, but it has proven difficult to obtain reviewers for this manuscript, partly because your group has so many collaborators. The reviewers were generally complementary of the manuscript and the comments are really of an editorial nature and should provide greater clarity for readers not embedded in the field of equine biomechanics. I doubt it will take long to make the necessary emendations. i will have a look on the editor manager software and see if i can extend the due date for the revision of the companion manuscript to this so you can ensure complementary changes etc.

Journal Requirements:

When submitting your revision, we need you to address these additional requirements:

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at http://www.plosone.org/attachments/PLOSOne_formatting_sample_main_body.pdf and http://www.plosone.org/attachments/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. Thank you for stating the following in the Competing Interests section:

"I have read the journal's policy and the authors of this manuscript have the following competing interests: M. Marin-Perianu founded Inertia-Technology B.V., which sells the inertial sensor system (Promove-mini) that is used as the basis of the EquiMoves® system, which is evaluated in this study. S. Bosch is an employee of Inertia-Technology B.V.. Rosmark Consultancy and Utrecht University are partners in the EquiMoves® corporation."

Please confirm that this does not alter your adherence to all PLOS ONE policies on sharing data and materials, by including the following statement: "This does not alter our adherence to  PLOS ONE policies on sharing data and materials.” (as detailed online in our guide for authors http://journals.plos.org/plosone/s/competing-interests).  If there are restrictions on sharing of data and/or materials, please state these. Please note that we cannot proceed with consideration of your article until this information has been declared.

Please include your updated Competing Interests statement in your cover letter; we will change the online submission form on your behalf.

Please know it is PLOS ONE policy for corresponding authors to declare, on behalf of all authors, all potential competing interests for the purposes of transparency. PLOS defines a competing interest as anything that interferes with, or could reasonably be perceived as interfering with, the full and objective presentation, peer review, editorial decision-making, or publication of research or non-research articles submitted to one of the journals. Competing interests can be financial or non-financial, professional, or personal. Competing interests can arise in relationship to an organization or another person. Please follow this link to our website for more details on competing interests: ht3tp://journals.plos.org/plosone/s/competing-interests

3. Thank you for stating the following in the Financial Disclosure section:

"W. Back, 13448, STW Valorisation Grant, https://www.tudelft.nl/, The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

M. Rhodin, H-17-47-303, Swedish-Norwegian Foundation for Equine Research, https://hastforskning.se/, The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript."

We note that one or more of the authors are employed by a commercial company: Inertia Technology B.V. and Rosmark Consultancy.

  1. Please provide an amended Funding Statement declaring this commercial affiliation, as well as a statement regarding the Role of Funders in your study. If the funding organization did not play a role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript and only provided financial support in the form of authors' salaries and/or research materials, please review your statements relating to the author contributions, and ensure you have specifically and accurately indicated the role(s) that these authors had in your study. You can update author roles in the Author Contributions section of the online submission form.

Please also include the following statement within your amended Funding Statement.

“The funder provided support in the form of salaries for authors [insert relevant initials], but did not have any additional role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript. The specific roles of these authors are articulated in the ‘author contributions’ section.”

If your commercial affiliation did play a role in your study, please state and explain this role within your updated Funding Statement.

2. Please also provide an updated Competing Interests Statement declaring this commercial affiliation along with any other relevant declarations relating to employment, consultancy, patents, products in development, or marketed products, etc. 

Within your Competing Interests Statement, please confirm that this commercial affiliation does not alter your adherence to all PLOS ONE policies on sharing data and materials by including the following statement: "This does not alter our adherence to  PLOS ONE policies on sharing data and materials.” (as detailed online in our guide for authors http://journals.plos.org/plosone/s/competing-interests) . If this adherence statement is not accurate and  there are restrictions on sharing of data and/or materials, please state these. Please note that we cannot proceed with consideration of your article until this information has been declared.

Please include both an updated Funding Statement and Competing Interests Statement in your cover letter. We will change the online submission form on your behalf.

Please know it is PLOS ONE policy for corresponding authors to declare, on behalf of all authors, all potential competing interests for the purposes of transparency. PLOS defines a competing interest as anything that interferes with, or could reasonably be perceived as interfering with, the full and objective presentation, peer review, editorial decision-making, or publication of research or non-research articles submitted to one of the journals. Competing interests can be financial or non-financial, professional, or personal. Competing interests can arise in relationship to an organization or another person. Please follow this link to our website for more details on competing interests: http://journals.plos.org/plosone/s/competing-interests

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: No

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: I Don't Know

Reviewer #2: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: Yes

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: The sampling rate of the IMU used is only 200 samples per second, so time resolution is already greater than 5 ms so insufficient, especially for faster gaits.

Using the force plate as a measurement standard does not have a strong justification.

The force plate measures force while the IMU measures motion. Therefore, it is not clear what the time relationship is between the resolved acceleration vector and the force plate loading during hoof impact and hoof rollover.

No mention is made of the response time lag of the force plate signal.

If the aim is to compare timing events measured with an IMU between limbs, or on the same limb under different conditions, it would appear to be circuitous to use a force measurement as a reference.

Miniature high sampling rate IMU systems and recorders have variable integrated circuit clock speeds. It is important when trying to achieve timing accuracies to less than 5 ms that the recording systems are all calibrated. It is not clear how the force plate and IMU time records were synchronised or aligned.

Until the required level of timing accuracy from the IMU can be demonstrated for a single horse there would appear to be little value in evaluating the system with a larger number of horses.

Reviewer #2: The study presented a method to detect timings of hoof-on and off in horses using IMU sensors attached to the hooves. I have the following concerns regarding the presentation of the results and discussions associated with them. These are in no particular order.

1) The authors claimed that the angular velocity algorithm was more useful for accurate detection of the hoof-on timing whereas the acceleration algorithm was better for the detection of the hoof-off timing. I was quite surprised with this result because I expected that the acceleration signal was more useful for the hoof-on detection because the sudden change in the velocity (i.e. large magnitude of acceleration) of the hoof occurs due to the collision, but less useful for the hoof-off detection because the hoof just leaves the ground and no collision takes place. The authors tried to explain the reasons behind by explaining the behaviors of the hoofs in the hoof-on and off events in the Discussion section, but no actual data about the movement of the hooves were provided. I think it is necessary to provide the actual movement data of the hooves during locomotion measured using the motion capture system to warrant the provided explanations.

2) Figure 1 presented a schematic representation of the movements of the hoof, but not actual data measured by the IMU, force plate and motion capture system were provided. Why not provide actual data? Actually measured acceleration and angular velocity profiles from the IMUs, displacement profiles from the motion capture system and ground reaction force profiles from the force plate of both fore and hindlimb hooves from at least one representative trial should be provided to provide readers a better picture of what’s really happening to the hooves during locomotion.

3) Means and standard deviations of some basic spatiotemporal parameters of analyzed walking and trotting trials such as stride time, stride length, and stance time should be provided. Such information is necessary to determine the necessary sampling frequency and needed accuracy of the system.

4) Time scale should be provided in figures 1 and 3.

5) When using an IMU for motion analyses, what is always a problem is a drift. How did the authors cope with this problem in this study?

6) Why did the authors conduct both Bland Altman and linear mixed model analysis? I think the former is just sufficient for the evaluation of the algorithm because it is more direct and the two analyses essentially draw the same conclusion here.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files to be viewed.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org. Please note that Supporting Information files do not need this step.

PLoS One. 2020 Jun 3;15(6):e0233266. doi: 10.1371/journal.pone.0233266.r002

Author response to Decision Letter 0


1 May 2020

Reviewer #1:

1. The sampling rate of the IMU used is only 200 samples per second, so time resolution is already greater than 5 ms so insufficient, especially for faster gaits.

Indeed, the sampling rate of the IMUs was set to 200 Hz in this study. In other studies, IMUs were set to a sampling frequency of 500 Hz to be able to measure faster gaits like pace and tölt as described in the abstracts of Gunnarsson et al. 2018 and Serra Braganca et al. 2018 (2, 3). The sampling frequency of the IMUs can be further increased to 1000 Hz if needed.

2. Using the force plate as a measurement standard does not have a strong justification. The force plate measures force while the IMU measures motion. Therefore, it is not clear what the time relationship is between the resolved acceleration vector and the force plate loading during hoof impact and hoof rollover.

Thank you for your comment. We agree that the force plate and IMUs measure another quantity which makes it difficult to compare the output of both systems directly. In this paper, we compare the timing of hoof-on and hoof-off. We detect these timings based on algorithms adapted to the specific signal and signal behavior, so whether the signal predicts vertical force, acceleration or angular velocity is not of importance to us. For this paper, we chose to use the force plate as measurement standard because this system is used in most research facilities and is still considered the gold standard for kinetic measurements (1, 4). For the break-over, the rolling motion of the hoof, the quantity of the measurement system becomes more important. Therefore, we used the OMC system as additional reference measurement for break-over detection onset as described in companion paper (5).

3. No mention is made of the response time lag of the force plate signal. Miniature high sampling rate IMU systems and recorders have variable integrated circuit clock speeds. It is important when trying to achieve timing accuracies to less than 5 ms that the recording systems are all calibrated. It is not clear how the force plate and IMU time records were synchronized or aligned.

We agree that the time synchronization between the different measurement systems was not clearly described. We have added a section about time synchronization in the supplementary file S1 and elaborated a little bit more on this in main method section in line 115-118. The response time lag of the force plate was 5.5 ms (for more details: page 134 of the QTM manual (6)) and is removed during preprocessing of the data.

4. If the aim is to compare timing events measured with an IMU between limbs, or on the same limb under different conditions, it would appear to be circuitous to use a force measurement as a reference.

Thank you for your feedback. The aim of this article was not to compare timing events under different conditions or on the same limb under different conditions. The aim of this paper was to develop an algorithms to automatically detect the hoof-on and -off events from the acceleration and angular velocity signal measured with IMUs. To validate these algorithms, hoof-on and hoof-off timings measured with the force plate were used since this is the gold standard for kinetic studies and is widely used in the clinics.

5. Until the required level of timing accuracy from the IMU can be demonstrated for a single horse there would appear to be little value in evaluating the system with a larger number of horses.

Thank you for your comment. We agree that the required level of accuracy is not clear yet. The level of accuracy needed depends on its purpose, e.g. for gait classification less accuracy is needed compared to lameness detection. Furthermore, also the type of surface will be of importance as described in the discussion. In this study, we made a start by developing an algorithm for automated hoof-on and hoof-off detection. We used data of two legs per horse (one front and one hind) and we analyzed consecutive steps to increase the number of measurements although the number of horses was small. The next step will be to determine the needed accuracy and precision for different purposes and different surface types, and to perform another study with a larger number of horses to determine the required level of accuracy.

Reviewer #2:

The study presented a method to detect timings of hoof-on and off in horses using IMU sensors attached to the hooves. I have the following concerns regarding the presentation of the results and discussions associated with them. These are in no particular order.

1) The authors claimed that the angular velocity algorithm was more useful for accurate detection of the hoof-on timing whereas the acceleration algorithm was better for the detection of the hoof-off timing. I was quite surprised with this result because I expected that the acceleration signal was more useful for the hoof-on detection because the sudden change in the velocity (i.e. large magnitude of acceleration) of the hoof occurs due to the collision, but less useful for the hoof-off detection because the hoof just leaves the ground and no collision takes place. The authors tried to explain the reasons behind by explaining the behaviors of the hoofs in the hoof-on and off events in the Discussion section, but no actual data about the movement of the hooves were provided. I think it is necessary to provide the actual movement data of the hooves during locomotion measured using the motion capture system to warrant the provided explanations.

Thank you for your comment. We were also quite surprised, at first, with the finding that the angular velocity was more accurate for the hoof-on detection and the acceleration for the hoof-off detection. After some consideration of the sliding and braking characteristics of the hoof, described by Hernlund et al. 2010 (7), we really think that the explanation as given in the discussion section, is valid for this finding. We understand that actual movement data of the hoof would be helpful to visualize the movement of the hoof and might help to understand this explanation. However, adding position and angular data of the hoof requires adding the OMC data to this paper. After careful consideration, we think that this is beyond the scope of this paper for multiple reasons. Firstly, the OMC data show more complicated data regarding the kinematics of the hoof, i.e. position of the markers and angles of the markers relative to other markers. Adding this information would make the paper more technical and harder to read. Secondly, this type of data is relevant when studying angles or relative position and we therefore included the OMC data in the companion paper (5) where we described the break-over onset detection. Furthermore, adding OMC data would also introduce the discussion of how to define the hoof-on moment. Namely, hoof-on can be determined as the toe-on or heel-on time point and we did prefer to stay away from this discussion. However, we understand the need to provide readers with actual data and therefore we have added a figure with data from the force plate, OMC system and IMU to the supplementary file.

2) Figure 1 presented a schematic representation of the movements of the hoof, but not actual data measured by the IMU, force plate and motion capture system were provided. Why not provide actual data? Actually measured acceleration and angular velocity profiles from the IMUs, displacement profiles from the motion capture system and ground reaction force profiles from the force plate of both fore and hindlimb hooves from at least one representative trial should be provided to provide readers a better picture of what’s really happening to the hooves during locomotion.

3) Time scale should be provided in figures 1 and 3.

We understand your concern and want to explain that figure 1 and 3 are generic illustrations of the IMU and force plate signals. These illustrations are based on actual data that is manipulated to illustrate the reader for which features/characteristics the algorithm is looking in the signal. We think that adding a time scale does not provide extra information to these illustrations since the steps of a horse are repetitive behavior that is not bound to one specific time interval. Actual data of one measurement is added to the supplementary file S1. Furthermore, we have changed the captions of figure 1 and 3 (line 86 and 163) to avoid misinterpretation.

4) Means and standard deviations of some basic spatiotemporal parameters of analyzed walking and trotting trials such as stride time, stride length, and stance time should be provided. Such information is necessary to determine the necessary sampling frequency and needed accuracy of the system.

Good suggestion, we have added a table with the mean and standard deviation values of the stance durations detected by the acceleration, angular velocity and force plate to the supplementary file S1. During this study, stride lengths were not analyzed, although this is possible the method to do this not yet validated and beyond the scope of this current study.

5) When using an IMU for motion analyses, what is always a problem is a drift. How did the authors cope with this problem in this study?

Indeed, you always have to be careful about drift. In this paper, we work with the acceleration and angular velocity data and not the integrated data to avoid drift. Furthermore, we work with one-directional data by calculating the Euclidean norm to avoid orientational issues as well.

6) Why did the authors conduct both Bland Altman and linear mixed model analysis? I think the former is just sufficient for the evaluation of the algorithm because it is more direct, and the two analyses essentially draw the same conclusion here.

Thank you for your question. Indeed, a Bland Altman test is more direct and easier to understand analysis method compared with a linear mixed model analysis. The outcome of the Bland Altman analysis shows the agreement of both algorithms with the force plate. However, with a linear mixed model analysis we were able to statistically test the effects of the independent variables, in this paper hoof, gait and number of analyzed trails. This test provides extra information about how the differences between the algorithms and the force plate arise. For this paper, we deemed this extra information important to able to give the reader an indication of how well the algorithms perform in different situations, i.e. different hooves and gaits. 

References:

1. Braganca FM, Bosch S, Voskamp JP, Marin-Perianu M, Van der Zwaag BJ, Vernooij JCM, et al. Validation of distal limb mounted inertial measurement unit sensors for stride detection in Warmblood horses at walk and trot. Equine Vet J. 2017;49(4):545-51.

2. Gunnarsson V, Tijssen M, Björnsdóttir S, Voskamp JP, Van Weeren PR, Back W, et al. Objective evaluation of stride parameters in the five-gaited Icelandic horse. 10th International Conference on Equine Exercise Physiology; 12 - 16 November 2018; Lorne, Australia2018. p. S52.

3. Serra Braganca FM, Tijssen M, Gunnarsson V, Björnsdóttir S, Persson-Sjodin E, Van Weeren PR, et al. The use of an artificial neural network to classify gait in Icelandic horses. 10th International Conference on Equine Exercise Physiology; 12 - 16 November 2018; Lorne, Australia2018. p. S41.

4. Starke SD, Clayton HM. A universal approach to determine footfall timings from kinematics of a single foot marker in hoofed animals. PeerJ. 2015;3:e783.

5. Tijssen M. Break-over detection using hoof-mounted inertial measurements units. Submitted to Journal of Experimental Biology. 2019b, companion paper.

6. Qualisys AB. Qualisys Track Manager - User Manual. Gothenborg, Sweden2011.

7. Hernlund E, Egenvall A, Roepstorff L. Kinematic characteristics of hoof landing in jumping horses at elite level. Equine Vet J Suppl. 2010(38):462-7.

Attachment

Submitted filename: Response to Reviewers A.docx

Decision Letter 1

Chris Rogers

4 May 2020

Automatic hoof-on and -off detection in horses using hoof-mounted inertial measurement unit sensors

PONE-D-19-27743R1

Dear Dr. Tijssen,

We are pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it complies with all outstanding technical requirements.

Within one week, you will receive an e-mail containing information on the amendments required prior to publication. When all required modifications have been addressed, you will receive a formal acceptance letter and your manuscript will proceed to our production department and be scheduled for publication.

Shortly after the formal acceptance letter is sent, an invoice for payment will follow. To ensure an efficient production and billing process, please log into Editorial Manager at https://www.editorialmanager.com/pone/, click the "Update My Information" link at the top of the page, and update your user information. If you have any billing related questions, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to enable them to help maximize its impact. If they will be preparing press materials for this manuscript, you must inform our press team as soon as possible and no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

With kind regards,

Chris Rogers

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Thank you for your thorough responses to the reviewers and edits to the manuscript. I am happy to say it may now proceed to publication.

Reviewers' comments:

Acceptance letter

Chris Rogers

21 May 2020

PONE-D-19-27743R1

Automatic hoof-on and -off detection in horses using hoof-mounted inertial measurement unit sensors

Dear Dr. Tijssen:

I am pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now with our production department.

If your institution or institutions have a press office, please notify them about your upcoming paper at this point, to enable them to help maximize its impact. If they will be preparing press materials for this manuscript, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information please contact onepress@plos.org.

For any other questions or concerns, please email plosone@plos.org.

Thank you for submitting your work to PLOS ONE.

With kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Chris Rogers

Academic Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    S1 Appendix. Additional information.

    Document with additional information about the population, data collection and synchronization of all the measurement systems.

    (DOCX)

    S2 Appendix. Dataset.

    Excel file with hoof-on, hoof-off and break-over data.

    (XLSX)

    S1 Table. Table with stance durations.

    Table with stance durations as detected with the algorithms for acceleration, angular velocity and force plate.

    (DOCX)

    S1 Fig

    Preprocessed signals of the vertical force (A), the acceleration (B) and angular velocity (C) signals of the IMU for one hoof from one measurement in trot. The hoof-on events are depicted with upward-pointing triangle markers and hoof-off events are depicted with downward-pointing triangle markers.

    (TIF)

    Attachment

    Submitted filename: Response to Reviewers A.docx

    Data Availability Statement

    All relevant data are within the paper and its Supporting Information files.


    Articles from PLoS ONE are provided here courtesy of PLOS

    RESOURCES