Unsupervised automated monitoring of dairy cows' behavior based on Inertial Measurement Unit attached to their back

Abstract Automated monitoring of dairy cow behavior based on non-invasive sensors offers a great potential to improve the monitoring processes of its welfare and health in the context of the smart farm. It can detect any changes before the appearance of the clinical signs, allowing the farmer to take necessary measures as soon as possible. The objective of this study is to develop an effective un-supervised classification model of data collected by Inertial Measurement Units (IMU) attached to the back of dairy cows housed in free-stall. These data were aggregated according to different sampling frequencies and segmentation windows. The different times of lying, standing, lying down, standing up, walking and stationary behaviors were observed and recorded in real time. The designed classification model is based on univariate and multivariate Finite Mixture Models (FMM) and decision trees. The valid transitions between standing and lying behaviors are guaranteed by constraints imposed by a deterministic finite state automaton. The obtained results revealed that 99% of behaviors are well classified. Standing, lying on each side and changing between these positions are classified with 100% accuracy, followed by stationary with 99% sensitivity, 96% specificity, 99% precision and 99% accuracy. The walking behavior is classified with 96% sensitivity, 99% specificity, 91% precision and 98% accuracy. These results show that the back is an interesting location for sensors to monitor the dairy cow behavior.

[1]  Lutz Plümer,et al.  Support Vector machine and duration-aware conditional random field for identification of spatio-temporal activity patterns by combined indoor positioning and heart rate sensors , 2016, GeoInformatica.

[2]  M. Kolehmainen,et al.  Cow behaviour pattern recognition using a three-dimensional accelerometer and support vector machines , 2009 .

[3]  Hyun Yoe,et al.  Monitoring Activity for Recognition of Illness in Experimentally Infected Weaned Piglets Using Received Signal Strength Indication ZigBee-based Wireless Acceleration Sensor , 2015, Asian-Australasian journal of animal sciences.

[4]  D. Hunter,et al.  mixtools: An R Package for Analyzing Mixture Models , 2009 .

[5]  Brad J. White,et al.  Probabilities of cattle participating in eating and drinking behavior when located at feeding and watering locations by a real time location system , 2016, Comput. Electron. Agric..

[6]  Andriamasinoro Lalaina Herinaina Andriamandroso,et al.  Development of an open-source algorithm based on inertial measurement units (IMU) of a smartphone to detect cattle grass intake and ruminating behaviors , 2017, Comput. Electron. Agric..

[7]  Vasileios Exadaktylos,et al.  Automated real-time stress monitoring of police horses using wearable technology , 2018 .

[8]  Anil K. Jain,et al.  Unsupervised Learning of Finite Mixture Models , 2002, IEEE Trans. Pattern Anal. Mach. Intell..

[9]  Greg Bishop-Hurley,et al.  Behavioral classification of data from collars containing motion sensors in grazing cattle , 2015, Comput. Electron. Agric..

[10]  Aaron Ingham,et al.  Cattle behaviour classification from collar, halter, and ear tag sensors , 2017 .

[11]  Luca Scrucca,et al.  mclust 5: Clustering, Classification and Density Estimation Using Gaussian Finite Mixture Models , 2016, R J..

[12]  Jaime Lloret Mauri,et al.  Detection and protection of the attacks to the sheep and goats using an intelligent wireless sensor network , 2013, 2013 IEEE International Conference on Communications Workshops (ICC).

[13]  Matti Pastell,et al.  Impact of acute clinical mastitis on cow behaviour , 2011 .

[14]  Michael T. Rose,et al.  Fixed-time data segmentation and behavior classification of pasture-based cattle: Enhancing performance using a hidden Markov model , 2017 .

[15]  Brad J. White,et al.  Predicting bull behavior events in a multiple-sire pasture with video analysis, accelerometers, and classification algorithms , 2017, Comput. Electron. Agric..

[16]  M. Herskin,et al.  Sickness behavior in dairy cows during Escherichia coli mastitis. , 2012, Journal of dairy science.

[17]  M. L. Stangaferro,et al.  Use of rumination and activity monitoring for the identification of dairy cows with health disorders: Part I. Metabolic and digestive disorders. , 2016, Journal of dairy science.

[18]  Mark Trotter,et al.  Categorising sheep activity using a tri-axial accelerometer , 2018, Comput. Electron. Agric..

[19]  Binh Q. Tran,et al.  Optimization of an Accelerometer and Gyroscope-Based Fall Detection Algorithm , 2015, J. Sensors.

[20]  Luc Martens,et al.  On the use of on-cow accelerometers for the classification of behaviours in dairy barns. , 2017, Research in veterinary science.

[21]  Andreas Buerkert,et al.  Performance of three GPS collars to monitor goats' grazing itineraries on mountain pastures , 2009 .

[22]  Geoffrey J. McLachlan,et al.  Finite Mixture Models , 2019, Annual Review of Statistics and Its Application.

[23]  David G. Renter,et al.  Evaluation of three-dimensional accelerometers to monitor and classify behavior patterns in cattle , 2009 .

[24]  Bruno Ando,et al.  A Multisensor Data-Fusion Approach for ADL and Fall classification , 2016, IEEE Transactions on Instrumentation and Measurement.

[25]  Lorenzo Bracciale,et al.  Ultra Low Power Wireless Sensor Network for Pink Iguanas Monitoring , 2018 .

[26]  Daniel Gutierrez-Galan,et al.  Embedded neural network for real-time animal behavior classification , 2018, Neurocomputing.

[27]  Matti Pastell,et al.  A Hidden Markov Model to Estimate the Time Dairy Cows Spend in Feeder Based on Indoor Positioning Data , 2018, bioRxiv.

[28]  Mahsa Shoaran,et al.  Energy-Efficient Classification for Resource-Constrained Biomedical Applications , 2018, IEEE Journal on Emerging and Selected Topics in Circuits and Systems.

[29]  Jaime Lloret,et al.  Smart Wireless Sensor Network to Detect and Protect Sheep and Goats to Wolf Attacks , 2013 .

[30]  Daniel M. Weary,et al.  Changes in behaviour of dairy cows with clinical mastitis , 2016 .

[31]  Matti Pastell,et al.  Predicting farrowing of sows housed in crates and pens using accelerometers and CUSUM charts , 2016, Comput. Electron. Agric..

[32]  H Hogeveen,et al.  Economic effects of bovine mastitis and mastitis management: A review , 2007, The Veterinary quarterly.

[33]  C. Arcidiacono,et al.  Development of a threshold-based classifier for real-time recognition of cow feeding and standing behavioural activities from accelerometer data , 2017, Comput. Electron. Agric..

[34]  Gabriel Borges,et al.  Sensor fusion methods for reducing false alarms in heart rate monitoring , 2016, Journal of Clinical Monitoring and Computing.

[35]  Heike Schulze Westerath,et al.  Gait determination and activity measurement in horses using an accelerometer , 2014 .

[36]  Weixing Zhu,et al.  Identification of group-housed pigs based on Gabor and Local Binary Pattern features , 2018 .

[37]  Athanassios Skodras,et al.  On the Comparison of Wearable Sensor Data Fusion to a Single Sensor Machine Learning Technique in Fall Detection , 2018, Sensors.

[38]  Edward A. Codling,et al.  Classification of behaviour in housed dairy cows using an accelerometer-based activity monitoring system , 2015, Animal Biotelemetry.

[39]  Md. Sumon Shahriar,et al.  Behavior classification of cows fitted with motion collars: Decomposing multi-class classification into a set of binary problems , 2016, Comput. Electron. Agric..

[40]  Yinqi Tang,et al.  Energy-Efficient Pedestrian Detection System: Exploiting Statistical Error Compensation for Lossy Memory Data Compression , 2018, IEEE Transactions on Very Large Scale Integration (VLSI) Systems.

[41]  Sebastian Madgwick,et al.  Estimation of IMU and MARG orientation using a gradient descent algorithm , 2011, 2011 IEEE International Conference on Rehabilitation Robotics.

[42]  Ilan Halachmi,et al.  Precision livestock farming applications: Making sense of sensors to support farm management , 2015 .