Detection of cow hind-leg activity during milking by using a 3-dimensional accelerometer attached to the milking

C M C Raoult1, A A Margerit2, S Fricker3,4

  • 1Centre for Proper Housing of Ruminants and Pigs, Federal Food Safety and Veterinary Office, Agroscope Tänikon, 8356 Ettenhausen, Switzerland.

JDS Communications
|November 7, 2022
PubMed

Hind-leg activity in dairy cows during milking is considered an indicator of a stressful situation or discomfort. Automatic detection of cow hind-leg activity during milking could be used to monitor deficiencies at the cow, milking machine, or human level. We assumed that the milking cluster follows cow hind-leg movements during milking. Therefore, the aim of our study was to estimate the ability of a 3-dimensional (3D) accelerometer attached to the claw's hook of the milking cluster to indirectly measure cow hind-leg activity during milking. The behavior of 45 dairy cows during 1 morning and 1 evening milking in a 2 × 3 auto tandem milking parlor was monitored by using direct visual observations and a 3D accelerometer attached directly to the hook of each milking claw. We recorded when hind-leg foot-lifting or stepping (undifferentiated) and kicking behaviors occurred. Detected activities were obtained after applying a standard deviation filter (over a sliding window of 1 s) on the x (left/right lateral) acceleration axis only. We set the detection threshold at 0.13 g (i.e., 1.27 m·s-2), based on the visual evaluation of 10 "reference" graphs (from 5 randomly chosen cows). Periods of activity were created for each observed or detected activity (and for consecutive activities that were less than 3 s apart) to take into account the milking cluster's rocking motion resulting from a single movement. Observed and detected periods of activity were considered matching when they occurred simultaneously (with a 2-s delay acceptance in the visual observations). In total, 472 periods of hind-leg activity were observed. The detection of hind-leg activity by using a 3D accelerometer attached to the milking cluster was found to have 69% sensitivity, 99% specificity, 75% positive predictive value, 98% negative predictive value, and an overall accuracy of 97%. On average, cows were observed being active 0.94 times per minute and being detected active 0.86 times per minute. The observed and detected periods of activity were found to be correlated (r = 0.657). Therefore, the use of a 3D accelerometer attached to the milking cluster seems promising for reliably estimating cow hind-leg activity during milking. Nevertheless, further investigations are necessary to clarify whether other factors can cause variations in milking cluster movements, regardless of cow hind-leg activity, and to generalize our method to better identify deficiencies in cow-machine-human interactions.

Related Concept Videos

Relative Motion Analysis - Acceleration01:10

Relative Motion Analysis - Acceleration

A slider-crank mechanism converts rotational motion from the crank into linear motion of the slider or vice versa. This mechanism consists of three main parts: the crank, the connecting rod, and the slider. The movement of the slider-crank is an example of general plane motion as the fluctuating angle between the crank and the connecting rod. Consider a segment AB where point A is at the end of the slider and point B is on the diametrically opposite end to point A, on a crack. The variance in...
398
Relative Motion Analysis using Rotating Axes - Acceleration01:22

Relative Motion Analysis using Rotating Axes - Acceleration

Consider a component AB undergoing a linear motion. Along with a linear motion, point B also rotates around point A. To comprehend this complex movement, position vectors for both points A and B are established using a stationary reference frame. The absolute velocity of point B is determined by adding the absolute velocity of point A, the relative velocity of point B in the rotating frame, and the effects caused by the angular velocity within the rotating frame.
Time differentiation is...
377
Measuring Acceleration Due to Gravity01:12

Measuring Acceleration Due to Gravity

Consider a coffee mug hanging on a hook in a pantry. If the mug gets knocked, it oscillates back and forth like a pendulum until the oscillations die out.
A simple pendulum can be described as a point mass and a string. Meanwhile, a physical pendulum is any object whose oscillations are similar to a simple pendulum, but cannot be modeled as a point mass on a string because its mass is distributed over a larger area. The behavior of a physical pendulum can be modeled using the principles of...
626