bioRxivAnimal Behavior & Cognition
Filtering Methods to Improve the Accuracy of Indoor Positioning Data for Dairy Cows
Abstract
Several indoor positioning systems for livestock buildings have been developed to be used as a tool in automated animal welfare monitoring. In many environments the measurements from positioning systems still contain unwanted noise and the quality of the measurement data can be enhanced using filters.\n\nThe aim of this study was to develop an efficient filter for positioning data measured from dairy cows with UWB-based indoor positioning system in a free stall barn. We developed and tested a heuristic jump filter combined with median filter and extended Kalman filter. The performance of the filters were compared against reference data collected from Insentec Roughage intake feeders and scan sampling of animal presence in a specific lying stall with over 1500 reference observations from both methods.\n\nWe were able to improve the quality of the positioning data significantly using filtering. The 9th order median filter provided best estimates for cow position when the cows were not moving with median 100% of measurements located in correct stall and 84% in correct feeding trough when compared to the reference observations and measurements. The extended Kalman filter also improved the positioning accuracy significantly when compared to raw data and provides better of estimates of the trajectory of moving cows.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- A Hidden Markov Model to Estimate the Time Dairy Cows Spend in Feeder Based on Indoor Positioning Data
M. Pastell, L. Frondelius·bioRxiv·Jun 29, 2018
- Daylong Acoustic Recordings of Grazing and Rumination Activities in Dairy Cows
L. S. Martinez Rau, J. O. Chelotti, … H. L. Rufiner·bioRxiv·Oct 18, 2023
- Evaluating machine learning algorithms to predict lameness in dairy cattle
Rajesh Neupane, Ashrant Aryal, … Sushil Paudyal·PLoS ONEPeer-reviewed·Jul 18, 2024
- AnimalMotionViz: an interactive software tool for tracking and visualizing animal motion patterns using computer vision
Angelo L. De Castro, Jin Wang, … Haipeng Yu·JDS CommunicationsPeer-reviewed·Mar 3, 2025
- Discovering subclinical effects of limited outdoor access on gait and hoof health of cows housed in movement-restricted environments
Shabnaz Mokhtarnazif, Amir Nejati, … E. Vasseur·bioRxiv·Jan 29, 2026
- From video-derived feeding behaviour to cow-level nutritional deviation signals: A dairy digital-twin decision-support framework
Shreya Rao, Suresh Raja Neethirajan·bioRxiv·Aug 20, 2026