Measuring shade use of dairy cattle at pasture with an on-cow light sensor: a case study

With increasingly frequent heatwaves, the welfare of dairy cows grazing in pastures is becoming a major concern. A recent study proposes an innovative method that allows researchers to automatically measure cows' use of shade, using simple light sensors attached to their backs.

Published on 12 March 2026

© INRAE

Like humans, cows suffer from the heat. When exposed to the sun, especially in summer, their comfort decreases: they eat less, produce less milk and their health can deteriorate. To protect themselves, they naturally seek shade from trees, hedges or other possible shelters. However, the amount of time spent and the conditions under which cows actually use these shaded areas remain poorly understood. A better understanding of these behaviours is essential for designing grazing methods that are better adapted to global warming.

Measuring the light received by cows and validating the method

UMRH researchers attached a small light sensor directly to the backs of seven lactating Holstein dairy cows. These cows were taken to pasture with the rest of the herd, spending time indoors during the two daily milkings. Each pasture plot included an area shaded by hedges and/or trees (grouped together or isolated), located directly within the plot. The sensor was placed on the transverse processes of the lumbar vertebrae, behind the iliac bone. The sensor automatically recorded the amount of light received (in lux) once per minute. 

To test the reliability of the method, the scientists combined technology with human observation. During the summer, they directly observed cows in the pasture: were they in the sun or in the shade? Standing or lying down? These observations were then compared with the data recorded by the sensors.

The researchers thus identified a threshold of light intensity that reliably distinguishes a cow in the sun from a cow in the shade. In practice, below approximately 25,000 lux, the cow is considered to be in the shade; above that, it is considered to be exposed to the sun. This simple rule proved to be very reliable, with more than 95% of classifications matching visual observations.

Robust results, with some nuances

Once the system has been calibrated, the sensors enable continuous, low-cost monitoring, even for large herds. The method works particularly well when the cows are standing. When they are lying down, the sensor may be slightly tilted, which can sometimes distort the measurement, much like a poorly oriented solar panel. Despite this, the error remains limited.

This study shows that it is possible to automatically and effectively measure the use of shade by grazing cows. The method developed will ultimately enable better design of pasture layout: number of trees required, location of shaded areas, reduction of inequalities in access between animals, and this for different species. The main objective is to improve animal welfare by taking their needs into account and thus adapting livestock farming to climate change through a better understanding of the behaviour of animals exposed to heat.

References : Aubé, L.; Meunier, B.; Lardy, R., 2026. Measuring shade use of dairy cattle at pasture with an on-cow light sensor: a case study. Computers and Electronics in Agriculture, 240: 9.  https://doi.org/10.1016/j.compag.2025.111152 

Sylvie André

Contacts

Romain Lardy

Scientific contact

UMR Herbivores

Centre

Division

Learn more

Climate change and risks

Using environmental scenarios to determine the world’s future

AllEnvi, the French national alliance for environmental research, has produced a study on possible future environmental scenarios based on a survey of major international foresight studies. The study tackled two issues: What do the scenarios look like and how long are their timelines? While future possibilities go from one extreme to another – from “Chaos” in the trajectories to “Positive Synergies” or environmental degradation and improvement – soil and water appear to face the most danger.

23 January 2020

Climate change and risks

Aboveground vegetation biomass in the tropics no longer has a positive impact on carbon stocks

PRESS RELEASE - Scientists from INRA, CEA, CNRS, CNES* and several international universities have quantified - over the 2010-2017 period – the time changes in the carbon stocks of aboveground vegetation biomass in the tropics. One main result is that over the studied time period, these stocks are almost constant: gains in biomass carbon stocks in some regions of the tropics are compensated by losses due to deforestation or diebacks linked to climate impacts (in particular the El Niño events). The above-ground biomass in the tropics, which used to be a carbon sink, is becoming neutral.

12 December 2019

Climate change and risks

Patrick Taillandier, a model modeler

From the moment he started studying informatics, Patrick Taillandier's interest in research has grown unceasingly. He has worked in such diverse places as Australia, Vietnam, Lyon, Rouen, and Toulouse, cultivating an expertise in modelling complex systems, which comes in handy for managing risks such as floods, fires, and epidemics.

19 December 2019