Professional Documents
Culture Documents
Accepted Manuscript: 10.1016/j.livsci.2018.06.008
Accepted Manuscript: 10.1016/j.livsci.2018.06.008
Accepted Manuscript: 10.1016/j.livsci.2018.06.008
PII: S1871-1413(18)30184-7
DOI: 10.1016/j.livsci.2018.06.008
Reference: LIVSCI 3481
Please cite this article as: R. Besteiro , M.R. Rodrı́guez , M.D. Fernandez , J.A. Ortega , R. Velo ,
Agreement between passive infrared detector measurements and human observations of animal ac-
tivity, Livestock Science (2018), doi: 10.1016/j.livsci.2018.06.008
This is a PDF file of an unedited manuscript that has been accepted for publication. As a service
to our customers we are providing this early version of the manuscript. The manuscript will undergo
copyediting, typesetting, and review of the resulting proof before it is published in its final form. Please
note that during the production process errors may be discovered which could affect the content, and
all legal disclaimers that apply to the journal pertain.
ACCEPTED MANUSCRIPT
Highlights
Passive infrared (PIR) detector has been used to measure animal activity in
piglets
T
Both methods agree in the level of activity detected
IP
PIR detector slightly overestimates the activity observed by human
CR
PIR detectors can provide an accurately estimation of the relative animal
activity
US
AN
M
ED
PT
CE
AC
1
ACCEPTED MANUSCRIPT
activity
T
a
Department of Agroforestry Engineering, University of Santiago de Compostela, Campus
IP
Terra, 27002, Lugo, Spain
CR
*corresponding author: roberto.besteiro@rai.usc.es
US
AN
Abstract
M
Passive infrared (PIR) detectors are widely used to measure animal activity, which is an
animal welfare. This paper evaluates the agreement between two animal activity measurement
PT
methods: a PIR detector that uses the sensor’s digital signal to perform measurements and
location chosen for the sensor allowed for the recording of the main transverse movements with
respect to the orientation of the sensor, which maximized its detection capacity. Human
AC
observation revealed two types of behavioral activity, feeding (eating or drinking) and playing.
Based on the characteristics of both measurement methods, the correlations between PIR
detection and human observation of animal activity were strong, with a Spearman’s correlation
coefficient of 0.90 (p < 0.001) and a concordance correlation coefficient of 0.86. PIR detection
overestimated animal activity by 2.59% as compared to human observation, and the precision of
PIR measurements decreased with the increase in the level of activity in the pen. In addition,
2
ACCEPTED MANUSCRIPT
animal weight affected the quality of measurements, which decreased with the increase in the
ratio between kg of live weight and area covered by the sensor. The type of activity affected the
precision of PIR detectors, which better detected playing activities, which are more intense than
feeding activities. It can be concluded that PIR detector measurements of activity in groups of
animals provide a good estimation of the relative activity of the group, which is comparable to
T
IP
Keywords: Animal activity; PIR detector; validation; pig; behavior.
CR
1. Introduction
US
AN
The increasing concern of consumers over the welfare of farm animals raised for food, together
with health and legal issues, led the Council of the European Union to enact directives laying
M
minimum standards for the protection of the main farm species, such as pigs (Council Directive
2008/120/EC) or chickens kept for meat production (Council Directive 2007/43/EC). In this
ED
context, factors such as animal activity and behavior emerge as useful indicators for establishing
a level of animal welfare on livestock farms, and become particularly relevant in intensive
PT
Animal activity has been used as an indicator of animal health status and, consequently, of
animal welfare by Escobar et al. (2007), who have found changes in the behavior of pigs
AC
infected with the porcine reproductive and respiratory syndrome virus (PRRSV). Kristensen and
Cornou (2011) have suggested an automatic monitoring system for the detection of irregular
activity patterns in broiler chicken flocks that may be indicative of welfare problems. In
addition, other behaviors, such as changes in water drinking patterns can reveal signs of
(Andersen et al., 2014). Therefore, measuring animal behavior can play a key role in the early
3
ACCEPTED MANUSCRIPT
deficiencies in animal welfare and in the improvement of farm production efficiency (Matthews
et al., 2016).
Moreover, the activity level of animals is directly related to air quality inside farms buildings.
For instance, animal activity directly affects heat production (Pedersen et al., 2015), exhaled
CO2 and humidity (Zong et al., 2014), or NH3 emissions in the building (Ngwabie et al., 2011).
T
In this respect, a number of daily activity patterns are available from the literature for various
IP
species, such as pigs (Besteiro et al., 2017; Schauberger et al., 2013; Villagrá et al., 2007),
CR
rabbits (Estellés et al., 2010) or dairy cows (Dohme-Meier et al., 2014). The evidence available
for such relationships points to the need to develop climate control systems based on the
US
animals and their behavior under different building environmental conditions (Youssef et al.,
2015).
AN
Accordingly, predicting animal activity and behavior becomes a key issue in the implementation
of Smart Farming technologies. Yet, the concern for animal behavior is not new to farmers, who
M
have traditionally used animal behavior as the main indicator of the health status of livestock.
ED
Typically, farmers assessed animal activity or behavior by visual inspection of the animals, but
the increase in farm size and in the number of animals per farmer makes visual inspection
PT
economically unviable.
CE
For this reason, in the last few decades many authors have focused on finding new technologies
for measuring animal activity. Among such technologies are accelerometers, which are widely
AC
used to monitor the activity of various animal species (Alvarenga et al., 2016; Johnson and
Shade, 2017; Shahriar et al., 2016), or radio-frequency identification systems, which are used to
al., 2014). Actually, the validity of accelerometer measurements has been assessed by a number
of authors (Oczak et al., 2016; Robert et al., 2009). More recently, some authors have proposed
the use of machine vision systems for measuring activity in groups of animals and predicting
4
ACCEPTED MANUSCRIPT
water intake, among other variables (Kashiha et al., 2013; Matthews et al., 2016; Ott et al.,
2014).
However, the above methods are sometimes too expensive, particularly for measuring activity
in groups or on farms with a modular design, such as weaner farms. Pedersen and Pedersen
(1995) proposed a novel method that used PIR detectors with signal post-processing to measure
animal activity. The proposed method was more limited in terms of behavior detection but it
T
was cheaper for farms and could be more widely implemented. Many authors have further used
IP
this method to measure activity in different livestock species, but particularly in pigs (Besteiro
CR
et al., 2017; Bünger et al., 2015; Lin et al., 2017; Ngwabie et al., 2011; Ni et al., 2017; Nielsen
et al., 2003; Schauberger et al., 2013). Yet, the method has not been validated against other
US
reference methods under real farm conditions. Nevertheless, Pedersen and Pedersen (1995) have
validated their method with heated artificial bodies under laboratory conditions, Nielsen (2003)
AN
has compared PIR measurements of abrupt changes in activity of group housed broilers with
measurements performed using a machine vision system, and Puppe et al. (1999) has validated
M
the method in suckling piglets housed in a 5.3 m2 open field pen covered by 14 PIR detectors.
ED
Therefore, the aims of this paper are: 1) to develop a method that uses the PIR signal of a
PIR detectors against human observations of animal activity on a commercial weaner farm.
CE
Animal activity is here defined as the movements made by the animals while they are
performing active behaviors such as walking, feeding or interacting with pen mates. To evaluate
the reliability of animal activity measurements using PIR detectors, a continuous measurement
of animal activity was performed in one pen of a weaner room on a pig farm. Simultaneously,
weaner behavior was recorded by video camera in order to perform a visual assessment of the
5
ACCEPTED MANUSCRIPT
level of activity. Visual estimation was used as a reference method and the data obtained with
both measurement methods were compared to define data quality and agreement.
A 3.2 x 3.2 m2 pen that housed 50 pigs weaned at 21 days of age was chosen for measurements.
The piglets, which were Large White x Landrace hybrids, entered the room on February 27,
2017 and exited the room on April 6, 2017. The pen belonged to a room of a commercial pig
T
IP
farm located in Northwest Spain, as described by Besteiro et al. (2017). The pen (Fig. 1),
composed of PVC divider panels 0.7 m in height, had fully slatted floors and a 3.2 x 0.5 m2
CR
heating plate, under a PVC roof placed at a height of 0.7 m. Piglets were fed ad-libitum in a
double humid hopper shared by two pens and water was supplied with a nipple drinker placed
Any body with a temperature above absolute zero emits infrared radiation, which is directly
M
related to body temperature. Based on this principle, PIR sensors detect body movements within
ED
a specific region based on the changes caused by moving bodies in the amount of radiation
emitted per unit area. Such changes are detected by PIR sensors, which use a sensor with
PT
pyroelectric properties connected with two electrodes and a load between the electrodes to
generate an induced charge that flows through the load like current (Kimura et al., 2012). This
CE
current is further analyzed until a signal that can be identified as motion is obtained.
Most commercial sensors provide a digital output that indicates the activity detected by the
sensor. However, Pedersen and Pedersen (1995) quantified animal activity by converting the
signal irregular waveform pulses into an analogue signal, not using the final part of the circuit in
the sensor, which yielded a digital signal. Thus, after processing the AC analogue signal by
wave rectification followed by averaging, the signal activity was stored in a conventional data
6
ACCEPTED MANUSCRIPT
logger. Currently, most authors use the analogue output of the sensor, reproducing the original
method or adding slight modifications to signal post processing and analysis (Ngwabie et al.,
However, this paper analyzes the time during which the digital signal of the sensor is activated
as the unit of measurement of animal activity, which simplifies the method. The simplification
proposed here considerably reduces the complexity in the use of PIR detectors and improves
T
accessibility for the interested actors.
IP
An OPTEX RX-40QZ sensor with an input voltage of 12 VDC and a normally closed (NC)
CR
relay output was used. The output was activated for 2.5 s when the alarm condition was reached,
i.e. when the sensor detected activity. The alarm condition was reached when the sensor
US
computed 4 triggers in 20 s. Therefore, the method proposed in this paper to quantify animal
activity consisted in computing the time during which the alarm was activated for a period. This
AN
activity time was totaled and stored by a data logger at 10-min intervals (Campbell Scientific
Ltd. CR-10X).
M
Because the data logger admitted an input voltage of only 5 V DC, a normally closed relay was
ED
used to adapt the power of the alarm output to the data logger requirements. The data logger
Sensor location is one of the factors that most affects the correct performance of PIR detectors.
In this study, the optimal location of the sensor for measuring the activity of the animals in the
AC
pen was previously determined based on pen size, shape, distribution and equipment, and on the
technical characteristics of the PIR detector. Based on these parameters, the optimal location for
the PIR detector was the angle opposite to the feeder (Fig. 1) at 0.8 m height and 45º orientation
7
ACCEPTED MANUSCRIPT
This location was chosen for three main reasons: 1) the maximum surface detection coverage
was 12 x 12 m2 at an angle of 85º, and, therefore, a single sensor left an uncovered angle of only
2.5º at each side of the sensor, which accounted for less than 0.18 m width at the most remote
point; 2) PIR sensors better detect transverse movements with respect to their orientation, and
the main movements during the period with low levels of activity occurred between the heating
plate and the feeder, which was the optimal direction for the sensor; 3) there was a roof over the
T
heating plate that limited the position and height for sensor installation.
IP
2.3. Human observation
CR
A video camera (QVIS® Zeus Lite LX) was placed over the PIR detector for a continuous
recording of the behavior of animals during the whole cycle in such a way that the camera
US
covered the same area as the PIR detector. Human observation (HO) of the recordings was the
reference method for the determination of the level of activity. Observations were made at a rate
AN
of one frame every two minutes, 24 hours a day (Ott et al., 2014; Sommavilla et al., 2011). In
addition, to analyze the effect of animal weight on the quality of PIR detector measurements,
M
two consecutive days at the beginning of the cycle (29 and 30 days of age with an average body
ED
mass of 7.84 kg) and two consecutive days at the second half of the cycle (51 and 52 days of
age with an average body mass of 14.89 kg) were randomly chosen, and 2866 frames were
PT
analyzed (data for 26 minutes of the second day at the beginning of the cycle were lost because
of a failure in electric power supply). To complete this process and in order to reduce human
CE
interpretation errors, authors had set the main activities to register. Then, the observer
designated was trained with a bank of images to homogenize the activity classification
AC
The level of activity was determined as the percentage of animals performing a behavioral
activity that could be classified as feeding (eating or drinking) (Debreceni et al., 2014; Villagrá
et al., 2007) or playing (e.g., walking, fighting, playing). The rest of the animals were
8
ACCEPTED MANUSCRIPT
considered to be inactive. Finally, the average percentage at 10-min intervals was calculated in
Activity data was analyzed using R statistical language, Rstudio environment (R Core Team,
2016; RStudio. Team, 2016) and their respective statistical packages. For a graphical
representation and interpretation of results, data series were scaled to the [0,1] range. In
T
IP
addition, the Kolmogorov-Smirnov test was used to assess data normality.
CR
To measure the agreement between PIR detector measurements and HO measurements, we first
analyzed the correlations by using Spearman’s rho (ρ). However, measuring the agreement
US
between two variables requires the assessment of both precision and accuracy. For this purpose,
the Concordance Correlation Coefficient (CCC) proposed by Lin (1989) combines both
AN
measures into a single coefficient. The CCC has emerged as one of the best measures of
agreement between two methods of measuring the same continuous variable. The value of this
M
coefficient ranges between 0 and ±1, and perfect agreement is reached when the data fall on a
1:1 line and CCC = 1. One of the most widespread interpretations of this coefficient suggests
ED
that the limit for a sufficiently good strength of agreement is a value of 0.9 (McBride, 2005).
Yet, this value has been arbitrarily chosen and it has been used mainly for chemical analysis
PT
methods.
CE
In this paper, we used the CCC approximated by the U-Statistic method (King and Chinchilli,
2001), available in the R statistical package by Carrasco and Martinez (2015), because of its
AC
increased robustness for non-normal data as compared to the original technique. In addition, the
plot proposed by Bland and Altman (1986) was used for graphical analysis of the differences
3. Results
9
ACCEPTED MANUSCRIPT
A visual comparison of the results obtained by the two analyzed methods provided a general
overview of the behavior of measurements. As shown in Fig. 2, the results obtained by both
methods were very similar, but some differences were found depending on the sampling day.
which could not be normalized using any transformation because of the strong asymmetry in the
distributions. Accordingly, non-parametric techniques were used. The differences shown in Fig.
T
2 were evidenced by the differences among the values of the Spearman’s correlation coefficient
IP
for the four analyzed days (Table 1). High correlation values were obtained for the first two
CR
days (ρ = 0.94), whereas the lowest, yet significant, correlation values (p<0.001), were obtained
for the following days. The value of correlation for the whole dataset was 0.90 (p<0.001).
US
Table 1: Statistical analysis of activity data measured by PIR detector and human observation
during postweaning.
AN
Age (days) ρ CCC
29 0.94* 0.94
30 0.96* 0.89
M
51 0.66* 0.74
52 0.82* 0.74
ED
Weight (kg)
7.84 0.94* 0.91
PT
The behavior of CCC values, which considered both the precision and the accuracy of the
AC
measurements, was similar to the behavior suggested by correlation analysis, with a higher
strength of agreement for younger weaners. However, for older weaners, CCC provided a more
similar strength of agreement (0.74) than the ρ coefficient. The CCC value for the whole dataset
was 0.86.
10
ACCEPTED MANUSCRIPT
Figure 3 shows the results of the Bland-Altman plot for the whole set of differences between
PIR detector activity levels and HO activity levels. On average, the PIR method tended to
estimate 2.59% more activity than the HO method (CI 0.95= 1.63% ─ 3.56%). In addition, the
agreement between the methods decreased with the increase in the level of activity, insofar as
differences exceeding the mean ± 2*SD limit occurred with high levels of activity. The
distribution of the differences came considerably near a normal distribution, in spite of being
T
slightly skewed to the left.
IP
The correlations between the animal activity measured with the PIR detector and the types of
CR
activities (feed and other) observed during daytime and at night allowed for the analysis of PIR
detector measurement quality based on those parameters (Table 2). For the whole cycle, the
US
correlations between the PIR detector method and the HO method for each activity showed very
similar values (0.85 and 0.88 for feeding and other activities, respectively). However, for the
AN
ages of 59 and 60 days, the correlation values were lower and the PIR detection of the feeding
activity was poorer than the detection of the playing activity. In addition, the correlations
M
between PIR detector and HO were stronger at night than during daytime (0.88 and 0.78
respectively).
ED
Table 2: Spearman’s correlation (r) between weaner activity measured with PIR detector and
human observation (HO) according to type of activity, level of activity (median HO=0.24), and
PT
Age (days)
CE
Activity Total
29 30 51 52
Type Feeding 0.85* 0.92* 0.92* 0.55* 0.68*
Playing 0.88* 0.91* 0.93* 0.71* 0.83*
AC
*p < 0.001.
11
ACCEPTED MANUSCRIPT
The correlation between playing and feeding was strong (ρ = 0.85), but decreased with the
growth of weaners, with values of 0.90-0.86 for days 29 and 30 that decreased to values of 0.80
and 0.77 for days 51 and 52. Total activity showed strong correlations with the playing and
4. Discussion
T
Quantifying animal activity can be essential in the design of new control systems for
IP
postweaning livestock buildings. The activity patterns obtained by using a PIR detector with a
CR
digital signal or by processing the analogue signal are very similar, as suggested by the patterns
determined in previous research (Besteiro et al., 2017). In addition, the animal activity pattern
US
recorded by the digital signal of PIR detectors in groups of animals is similar to the pattern
obtained by human observations (Fig. 2). In this study, significant correlations (p < 0.001) have
AN
been found between both methods for the 4 analyzed days, which is in agreement with the
results obtained for suckling piglets by Puppe et al. (1999), who found significant correlations
M
between human observations and a PIR system. Yet, Puppe et al. (1999) used a considerably
ED
different method that measured the activity of a single animal in open field conditions with
various sensors. Likewise, Langbein et al. (1996) studied the activity of free-ranging mouflons
PT
and found significant correlations between the values obtained by a PIR-based system and the
The results obtained by Ott et al. (2014) for the comparison of automated video analysis and
AC
human observations of the behavioral activities of pigs showed a correlation value of ρ = 0.92,
which was similar to the value reported in this study. Therefore, both automated video analysis
and PIR detector measurements allow for the estimation of the level of activity in groups of
animals. In this sense, Nielsen (2003) has suggested that PIR detectors are more accurate and
less time-consuming in detecting subtle movements in grouped birds. However, these two
methods should be tested using new video analysis techniques, which would be essential in
12
ACCEPTED MANUSCRIPT
order to compare the current performance and results of both techniques (Nasirahmadi et al.,
2017).
The value obtained in this study for CCC is 0.86 (Table 1), which comes near the value of 0.9
that suggests an almost perfect strength of agreement according to McBride (2005). Yet, this
value has been arbitrarily determined and it has been used mainly in chemical analysis methods
that differ substantially from animal behavior analysis. In our study, the units of measurement
T
used to quantify the same variable are totally different (% active animals against time of
IP
activity), and perfect agreement is not required. For this reason, the value of CCC obtained here
CR
has been considered sufficiently high to suggest substantial agreement between both methods.
Higher values of ρ and CCC were obtained for younger weaners, i.e. for weaners with a lower
US
kg/m2 ratio. This can be due to the larger area occupied by larger weaners, which create a
background with a higher and more homogeneous temperature. These conditions affect the
AN
detection capacity of the sensors (Ni et al., 2017) because the signal of PIR detectors is
proportional to the difference in temperature between the bodies and the background (Pedersen
M
and Pedersen, 1995). Similarly, animal size and density affect the decrease in the quality of
ED
measurements from automated video analysis because automated video analysis is also
dependent on contrast between floor and pig surface (Kashiha et al., 2014).
PT
In contrast, animal size and density did not affect intense activity, which was detected better by
CE
the PIR sensor than by human observation (Fig. 2). The activity of heavier animals was more
easily detected by PIR detectors because the intensity of the signal of PIR detectors was related
AC
to the number of active animals, to longer and more intense movements, and to movements of
larger animals (Ni et al., 2017). However, visual techniques did not consider the weight of the
animals, but only the proportion of animals. Moreover, because the minimum duration of
detected activity was 2.5 s, shorter activities could be overestimated. As a result, the PIR
observation (Fig. 3). Also, there are some differences between PIR and HO levels of activity
13
ACCEPTED MANUSCRIPT
when it is supposed almost no activity, according to the HO. It is probably due to the frequency
rate of HO, set in 2 minutes. Therefore, slight activities that occurred between two consecutive
All these parameters affected the measurements of the different activities. For young weaners,
the feeding behavior had the same effect on the measured activity as the playing behavior
(Table 2). At young ages, there was a strong correlation between the observed playing and
T
feeding activities and the activity measured by the PIR detector, i.e. weaners moved mainly to
IP
reach the feeder. In contrast, as weaners grew, the correlation for the playing and feeding
CR
behaviors decreased, and playing involved a more intense activity which was developed nearer
the sensor, which could hide the feeding behaviors. As a result, PIR detector measurements
US
showed a stronger correlation with playing activities. This is in agreement with automated video
analysis, which shows the same drawback when movements do not involve many changes in
AN
image pixels (Ott et al., 2014).
The lower activity levels observed at night have a beneficial effect on PIR detector
M
measurements (CIGR, 2002; Villagrá et al., 2007), insofar as the problems caused by animal
ED
overlapping disappear. In addition, temperatures inside and outside the room are usually lower
at night, such that the difference between body temperature and background temperature is
PT
higher, which involves an increase in the intensity of the signal. At night, the value for the level
of activity was < 0.24 (Table 2), although such value was at some point largely exceeded.
CE
Therefore, the correlations for the two levels of activity analyzed here are consistent with the
5. Conclusions
Currently, PIR detectors are widely used for quantifying the levels of animal activity, as
revealed by the current literature. In this paper, the performance of a PIR detector that used its
digital signal was assessed against human observation of a group of weaned piglets. We
14
ACCEPTED MANUSCRIPT
conclude that placing PIR detectors at an angle of the pen, transversely with respect to the main
theoretical line of animal movement (feeder – heating plate) allows for precise and accurate
The animal activity values obtained suggest substantial agreement between both methods, with
Such values are sufficiently good, considering that the analyzed measurement methods are
T
dissimilar and that the analyzed methods measured relative activity.
IP
Under the installation conditions tested in this study, the PIR detector tends to overestimate the
CR
level of activity by 2.59%, as compared to human observations, and the differences between
both methods increase with the increase in the level of activity. For this reason, night
US
measurements are more precise. Moreover, animal weight affects the measurement capacity of
PIR detectors, which perform better during the first weeks after weaning. Actually, the feeding
AN
activities, which are less intense, lose their influence on PIR detector measurements only when
6. Acknowledgments
PT
The authors are grateful to the regional government Xunta de Galicia for funding this research
(GPC2014/072).
AC
7. Bibliography
Alvarenga, F.A.P., Borges, I., Palkovič, L., Rodina, J., Oddy, V.H., Dobos, R.C., 2016. Using a
three-axis accelerometer to identify and classify sheep behavior at pasture. Appl. Anim. Behav.
Andersen, H.M.-L., Dybkjær, L., Herskin, M.S., 2014. Growing pigs’ drinking behavior:
15
ACCEPTED MANUSCRIPT
number of visits, duration, water intake and diurnal variation. Animal 8, 1881–1888.
doi:10.1017/S175173111400192X
Besteiro, R., Arango, T., Rodríguez, M.R., Fernández, M.D., Velo, R., 2017. Estimation of
doi:10.1016/j.biosystemseng.2017.06.014
Bland, J.M., Altman, D.G., 1986. Statistical methods for assessing agreement between two
T
IP
methods of clinical measurement. Lancet 327, 307–310. doi:10.1016/S0140-6736(86)90837-8
CR
Brown-Brandl, T.M., Rohrer, G.A., Eigenberg, R.A., 2013. Analysis of feeding behavior of
doi:10.1016/j.compag.2013.06.002
US
Bünger, B., Schrader, L., Schrade, H., Zacharias, B., 2015. Agonistic behavior, skin lesions and
AN
activity pattern of entire male, female and castrated male finishing pigs. Appl. Anim. Behav.
Carrasco, J.L., Martinez, J.P., 2015. cccrm: Concordance Correlation Coefficient for repeated
ED
project.org/package=cccrm
PT
CIGR, 2002. Heat and moisture production at animal and house levels. CIGR Section II, 4th
CE
Debreceni, O., Lehotayová, A., Bučko, O., Petrák, J., 2014. The behavior of the pigs housed in
Dohme-Meier, F., Kaufmann, L.D., Görs, S., Junghans, P., Metges, C.C., Van Dorland, H.A.,
Bruckmaier, R.M., Münger, A., 2014. Comparison of energy expenditure, eating pattern and
physical activity of grazing and zero-grazing dairy cows at different time points during
16
ACCEPTED MANUSCRIPT
Escobar, J., Van Alstine, W.G., Baker, D.H., Johnson, R.W., 2007. Behaviour of pigs with viral
doi:10.1016/j.applanim.2006.06.005
Estellés, F., Rodríguez-Latorre, A.R., Calvet, S., Villagrá, A., Torres, A.G., 2010. Daily carbon
dioxide emission and activity of rabbits during the fattening period. Biosyst. Eng. 106, 338–343.
doi:10.1016/j.biosystemseng.2010.02.011
T
IP
Gebhardt-Henrich, S.G., Toscano, M.J., Fröhlich, E.K.F., 2014. Use of outdoor ranges by laying
hens in different sized flocks. Appl. Anim. Behav. Sci. 155, 74–81.
CR
doi:10.1016/j.applanim.2014.03.010
US
Johnson, J.S., Shade, K.A., 2017. Characterizing body temperature and activity changes at the
2014. Automatic monitoring of pig locomotion using image analysis. Livest. Sci. 159, 141–148.
M
doi:10.1016/j.livsci.2013.11.007
ED
Kashiha, M., Bahr, C., Haredasht, S.A., Ott, S., Moons, C.P.H., Niewold, T. a., Ödberg, F.O.,
Berckmans, D., 2013. The automatic monitoring of pigs water use by cameras. Comput.
PT
Kimura, N., Masai, S., Nakanosai, Y., 2012. Patent No.: US 8,309,927 B2. Infrared detector.
doi:10.1016/j.(73)
AC
King, T.S., Chinchilli, V.M., 2001. A generalized concordance correlation coefficient for
Kristensen, H.H., Cornou, C., 2011. Automatic detection of deviations in activity levels in
doi:10.1016/j.biosystemseng.2011.05.002
17
ACCEPTED MANUSCRIPT
Langbein, J., Scheibe, K.M., Eichhorn, K., Lindner, U., Streich, W.J., 1996. An activity-data-
logger for monitoring free-ranging animals. Appl. Anim. Behav. Sci. 48, 115–124.
Lin, X., Zhang, R., Jiang, S., El-Mashad, H., Xin, H., 2017. Emissions of ammonia, carbon
dioxide and particulate matter from cage-free layer houses in California. Atmos. Environ. 152,
T
IP
246–255. doi:10.1016/j.atmosenv.2016.12.018
CR
Madsen, T.N., Kristensen, A.R., 2005. A model for monitoring the condition of young pigs by
doi:10.1016/j.compag.2005.02.014
US
Matthews, S.G., Miller, A.L., Clapp, J., Plötz, T., Kyriazakis, I., 2016. Early detection of health
AN
and welfare compromises through automated detection of behavioral changes in pigs. Vet. J.
McBride, G., 2005. A proposal for strength-of-agreement criteria for Lin’s Concordance
ED
Nasirahmadi, A., Edwards, S.A., Sturm, B., 2017. Implementation of machine vision for
PT
detecting behavior of cattle and pigs. Livest. Sci. 202, 25–38. doi:10.1016/j.livsci.2017.05.014
CE
Ngwabie, N.M., Jeppsson, K.H., Gustafsson, G., Nimmermark, S., 2011. Effects of animal
activity and air temperature on methane and ammonia emissions from a naturally ventilated
AC
Ni, J.Q., Liu, S., Radcliffe, J.S., Vonderohe, C., 2017. Evaluation and characterisation of
Nielsen, B.L., 2003. Use of passive infrared detectors (PIDs) to monitor bursts of activity in
18
ACCEPTED MANUSCRIPT
Nielsen, B.L., Litherland, M., Nøddegaard, F., 2003. Effects of qualitative and quantitative feed
restriction on the activity of broiler chickens. Appl. Anim. Behav. Sci. 83, 309–323.
doi:10.1016/S0168-1591(03)00137-0
Oczak, M., Maschat, K., Berckmans, D., Vranken, E., Baumgartner, J., 2016. Can an automated
labelling method based on accelerometer data replace a human labeller? - Postural profile of
T
IP
farrowing sows. Comput. Electron. Agric. 127, 168–175. doi:10.1016/j.compag.2016.06.013
CR
Ott, S., Moons, C.P.H., Kashiha, M.A., Bahr, C., Tuyttens, F.A.M., Berckmans, D., Niewold,
T.A., 2014. Automated video analysis of pig activity at pen level highly correlates to human
US
observations of behavioral activities. Livest. Sci. 160, 132–137.
doi:10.1016/j.livsci.2013.12.011
AN
Pedersen, S., Jørgensen, H., Theil, P.K., 2015. Influence of diurnal variation in animal activity
and digestion on animal heat production. Agric. Eng. Int. CIGR J. Special is, 18–29.
M
Pedersen, S., Pedersen, C.B., 1995. Animal activity measured by infrared detectors. J. Agric.
ED
Puppe, B., Schön, P.C., Wendland, K., 1999. Monitoring of piglets’ open field activity and
PT
choice behavior during the replay of maternal vocalization: a comparison between Observer and
CE
R Core Team, 2016. R: A language and environment for statistical computing. R Foundation for
AC
Robert, B., White, B.J., Renter, D.G., Larson, R.L., 2009. Evaluation of three-dimensional
accelerometers to monitor and classify behavior patterns in cattle. Comput. Electron. Agric. 67,
80–84. doi:10.1016/j.compag.2009.03.002
RStudio Team, 2016. RStudio: Integrated Development for R. RStudio, Inc., Boston, MA.
19
ACCEPTED MANUSCRIPT
http://www.rstudio.com/.
Schauberger, G., Lim, T.T., Ni, J.Q., Bundy, D.S., Haymore, B.L., Diehl, C.A., Duggirala,
R.K., Heber, A.J., 2013. Empirical model of odor emission from deep-pit swine finishing barns
doi:10.1016/j.atmosenv.2012.05.046
Shahriar, M.S., Smith, D., Rahman, A., Freeman, M., Hills, J., Rawnsley, R., Henry, D.,
T
IP
Bishop-Hurley, G., 2016. Detecting heat events in dairy cows using accelerometers and
CR
doi:10.1016/j.compag.2016.08.009
US
Sommavilla, R., Hötzel, M.J., Dalla Costa, O.A., 2011. Piglets’ weaning behavioral response is
Villagrá, A., Althaus, R.L., Lainez, M., Martínez, A.B., Torres, A.G., 2007. Modelling of daily
M
rhythms of behavioral patterns in growing pigs on two commercial farms. Biol. Rhythm Res.
ED
Youssef, A., Exadaktylos, V., Berckmans, D.A., 2015. Towards real-time control of chicken
PT
doi:10.1016/j.biosystemseng.2015.04.003
CE
Zong, C., Zhang, G., Feng, Y., Ni, J.Q., 2014. Carbon dioxide production from a fattening pig
AC
building with partial pit ventilation system. Biosyst. Eng. 126, 56–68.
doi:10.1016/j.biosystemseng.2014.07.011
20
ACCEPTED MANUSCRIPT
Figure captions
T
IP
CR
US
Fig. 1: General plan view of the room and detail of the pen where animal activity was measured.
a) PIR and Video Camera, b) feeder, c) drinker, d) cover, e) heating plate.
AN
M
ED
PT
CE
AC
21
ACCEPTED MANUSCRIPT
T
IP
CR
US
Fig. 3: Bland-Altman plot for the differences in measurements of weaner activity between PIR
AN
detector and human observation (HO).
M
ED
PT
CE
AC
22