AUTHOR=Ren Keni , Alam Moudud , Nielsen Per Peetz , Gussmann Maya , Rönnegård Lars TITLE=Interpolation Methods to Improve Data Quality of Indoor Positioning Data for Dairy Cattle JOURNAL=Frontiers in Animal Science VOLUME=3 YEAR=2022 URL=https://www.frontiersin.org/journals/animal-science/articles/10.3389/fanim.2022.896666 DOI=10.3389/fanim.2022.896666 ISSN=2673-6225 ABSTRACT=

Position data from real-time indoor positioning systems are increasingly used for studying individual cow behavior and social behavior in dairy herds. However, missing data challenges achieving reliable continuous activity monitoring and behavior studies. This study investigates the pattern of missing data and alternative interpolation methods in ultra-wideband based real-time indoor positioning systems in a free-stall barn. We collected 3 months of position data from a Swedish farm with around 200 cows. Data sampled for 6 days from 69 cows were used in subsequent analyzes to determine the location and duration of missing data. Data from 20 cows with the most reliable tags were selected to compare the effects of four different interpolation methods (previous, linear interpolation, cubic spline data interpolation and modified Akima interpolation). By comparing the observed data with the interpolations of the simulated missing data, the mean error distance varied from around 55 cm, using the previously last observed position, to around 17 cm for modified Akima. Modified Akima interpolation has the lowest error distance for all investigated activities (rest, walking, standing, feeding). Larger error distances were found in areas where the cows walk and turn, such as the corner between feeding and cubicles. Modified Akima interpolation is expected to be useful in the subsequent analyses of data gathered using real-time indoor positioning systems.