Extracting Poultry Behaviour From Time-Series Weigh Scale Records
Extracting Poultry Behaviour From Time-Series Weigh Scale Records
discussions, stats, and author profiles for this publication at: http://www.researchgate.net/publication/250719002
CITATIONS
2 AUTHORS, INCLUDING:
Hongwei Xin
Iowa State University
288 PUBLICATIONS 1,690 CITATIONS
SEE PROFILE
ARTICLE IN PRESS
COMPAG 2049 17
c o m p u t e r s a n d e l e c t r o n i c s i n a g r i c u l t u r e x x x ( 2 0 0 7 ) xxxxxx
available at www.sciencedirect.com
Biosystems and Agricultural Engineering Department, 128 C.E. Barnhart Building, University of Kentucky, Lexington, KY 40546, USA
Agricultural and Biosystems Engineering Department, 3204 NSRIC, Iowa State University, Ames, IA 50011-3310, USA
a r t i c l e
i n f o
a b s t r a c t
RO
OF
Keywords:
Algorithms for determining individual bird feeding statistics and stereotyped pecking
Poultry
behaviour from time-series recordings of feed weight were developed and compared to video
10
Behaviour
observations. Data taken from two separate experiments involving broiler and laying hen
11
Animal well-being
chickens were used to evaluate the algorithms. The effects of algorithm tuning parameters
12
Welfare
including thresholds for changes in weight and sequential number of stabilized readings,
13
Feeding
arithmetic moving average for meal tare values, and the sampling frequency of feed weight
DP
recordings were evaluated. Results suggest that a minimum sampling frequency of 0.51 Hz
is recommended for discerning behavioural changes that include timing of feeding events
TE
and their duration. However, lower sampling frequencies are acceptable for determining
1.
EC
Introduction
14
15
RR
16
17
18
19
20
CO
21
22
23
24
25
26
UN
27
28
29
30
Q1
1
2
Corresponding author. Tel.: +1 859 257 3000; fax: +1 859 257 5671.
E-mail address: [email protected] (R.S. Gates).
0168-1699/$ see front matter 2007 Elsevier B.V. All rights reserved.
doi:10.1016/j.compag.2007.08.015
Please cite this article in press as: Gates, R.S., Xin, H., Extracting poultry behaviour from time-series weigh scale records, Comput. Electron.
COMPAG 2049 17
Agric. (2007), doi:10.1016/j.compag.2007.08.015
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
ARTICLE IN PRESS
COMPAG 2049 17
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
2.1.
Equipment
83
2.1.1.
IBU system
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
CO
86
The Individual Bird Unit (IBU) system consisted of 24 feeding/drinking stations divided into four groups of six stations.
Each group was located in one of two environmentally controlled chambers. Each feeding station (Fig. 1) consisted of a
precision electronic weighing scale (model CT1200, Ohaus Corporation, Florham Park, NJ) with a 1210 g capacity and a 0.1 g
resolution and a plastic feeder measuring 13 cm (L) 13 cm
(W) 15 cm (H) (5 in. (L) 5 in. (W) 6 in. (L)). The plastic feeder
had a u-shaped access side opening and its bottom was fastened to the electronic scale with Velcrotm strips. Each scale
had an RS232 serial interface connected to a custom-built
microcontroller with RS232 and RS485 communication ports,
digital input/output and analogue/digital converter (KG Systems Inc., East Hanover, NJ). The 24 microcontrollers were
networked to a master unit via the RS485 ports; the master
microcontroller assigned polling commands, collected information from each unit, and forwarded the data to a PC via
RS232. The weigh scales were located on a wooden stand in
front of the individual birdcages. The cages measured 25 cm
(W) 46 cm (D) 46 cm (H) (10 in. (W) 18 in. (D) 18 in. (H)).
UN
85
RR
2.
84
OF
53
RO
52
DP
51
system (Puma et al., 2001; Cook and Xin, 2004) indicate that
individual birds adjust their eating and drinking behaviour
quite differently for the same thermal treatment, and that
this effect is masked when comparing group means. Collection of data for variability between individuals, if practical,
may provide an efcient basis for assessing bird response
using population percentages, minimization (or elimination)
of extreme responses, or genetic improvement by individual
et
selection of previously unavailable selection criteria (Na as
al., 2000).
One set of behavioural assessment criteria is feeding activity. Measures include number of meals, meal size, meal
duration, ingestion rate, meal intervals, and proportion of
time spent eating. In addition, birds spend varying amounts
of time pecking without eating, dened as stereotyped pecking behaviour. Such information may be useful to understand
how to better design housing systems to satisfy birds inherent needs for food, and to study the space requirements
and the impact of competition in commercial settings (Cook
and Xin, 2004). Behaviour of individual birds at the feeder, if
quantied, could form a comparative basis for assessing alternative management and housing strategies (Persyn et al., 2003,
2004).
The objective of this research was to devise, test and validate two algorithms to determine individual bird activities
including time at station, activity at station, meal size and
duration, for use with time-series recordings of feed levels
from the existing Individual Bird Use system. In addition, one
algorithm was tested in its ability to extract time allotment
activities as compared to video recordings. In the following
sections, we describe the two algorithms, discuss the effect
of key parameters to tune the algorithms, and as appropriate
compare them to baseline data.
TE
50
EC
49
c o m p u t e r s a n d e l e c t r o n i c s i n a g r i c u l t u r e x x x ( 2 0 0 7 ) xxxxxx
Please cite this article in press as: Gates, R.S., Xin, H., Extracting poultry behaviour from time-series weigh scale records, Comput. Electron.
COMPAG 2049 17
Agric. (2007), doi:10.1016/j.compag.2007.08.015
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
ARTICLE IN PRESS
COMPAG 2049 17
c o m p u t e r s a n d e l e c t r o n i c s i n a g r i c u l t u r e x x x ( 2 0 0 7 ) xxxxxx
2.1.2.
122
123
142
2.2.
132
133
134
135
136
137
138
139
140
143
144
Experimental birds
TE
131
EC
130
RR
129
CO
128
UN
127
DP
141
126
effects of drinking water temperature during diurnal, warmto-hot environments (Xin et al., 2002). The hens were W-36
layers, approximately 32 weeks old at the start of the test.
Lights were turned on at 5:00 and off at 21:00 each day. Feed
was replenished daily between 8:10 and 8:50. A single day
of data from the 3rd week of a 4-week heat stress event
(two hens), and 2 days from the 2nd week of a 2-week thermoneutral recovery period (four hens) were available. These
hen day combinations were selected for analysis because
they had few missing values and simultaneous video recordings of these birds.
The high-frequency data were taken from a broiler feeding
study (Japanese, Chunky breed) to assess feeding behaviour
and consumption of a specialized sesame diet. At 4 weeks
of age, birds with similar body mass (BM) were sub-grouped
for feeding behaviour measurement. Starting with the heavier BM, two birds of similar BM from each group at a time
were brought from the rearing house to the measurement laboratory. At the measurement lab, the birds were individually
housed in cages (24 cm (W) 43 cm (D) 40 cm (H)) at constant ambient temperature of 24 C and relative humidity of
46%. After a 2-day acclimation, feeding behaviour was monitored for the next 45 h, and those data associated with the
nal 24 h (6 am6 am) were taken to be representative of the
normal behaviour of the birds and thus used in the analysis.
Full details are available from Xin (2001, unpublished research
report). For purposes of this study, sample sequences from a
single day of four birds were used.
OF
125
121
RO
124
events (time at feeder, time at drinker, remainder of nonresting time) were tabulated from visual analysis of the
time-lapsed recordings. Four hens during 1 day of heat stress
and two hens during 1 day of the recovery period were utilized
for this activity.
120
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
ARTICLE IN PRESS
COMPAG 2049 17
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
208
202
203
204
205
206
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
RR
201
CO
200
UN
199
EC
207
a stabilized baseline feed weight from an arithmetic moving average (ARMA) of R consecutive readings is used to
determine whether the next Wk is the start of a candidate
feeding event;
use of a forward-based R-pt ARMA to determine meal
event cessation;
feeding event assessment using a 0.2 g threshold between
start and end weights;
automated handling of tare, when feed was added to the
system.
198
OF
175
Two algorithms (AL1 and AL2) were developed to utilize timeseries recordings of feeder weights as the basis for assessing
individual bird meal activity. Both algorithms were designed
to post-process large volumes of feeder weight recordings. AL1
was designed to handle high-frequency (10 Hz) time-series
recordings, whereas AL2 was designed for lower frequency
(1/301/4 Hz; or sample times Ts of 30 or 4 s). The frequency
criteria were dictated by the instrumentation systems used to
acquire the data, and offered a unique opportunity to assess
how well each algorithm performed, and the importance of
sampling frequency on determining behavioural attributes. A
representative ow chart of the main decision steps of AL2 is
presented in Fig. 2.
Each algorithm processes a series of feeder weight readings
taken at discrete times tk , denoted by W(tk ) = Wk , where index
k = 1,2,. . .n denotes sequential recordings taken at a sample
rate of Ts sec. For both algorithms, the following key elements
were used:
RO
174
Algorithm development
DP
173
2.3.
TE
172
c o m p u t e r s a n d e l e c t r o n i c s i n a g r i c u l t u r e x x x ( 2 0 0 7 ) xxxxxx
Representative weigh-scale readings were used to assess algorithm performance. One sample (Fig. 3) was obtained from the
high-frequency data set (Ts = 0.1 s, 110 min total), and the other
from a full day of recordings (Fig. 4, Ts = 4 s) in which the hens
activities were recorded with time-lapse video. Each algorithm
was studied to assess robustness to tuning parameters, and
sampling frequency, as described below.
Please cite this article in press as: Gates, R.S., Xin, H., Extracting poultry behaviour from time-series weigh scale records, Comput. Electron.
COMPAG 2049 17
Agric. (2007), doi:10.1016/j.compag.2007.08.015
224
225
226
227
228
229
230
231
232
233
234
235
236
237
ARTICLE IN PRESS
COMPAG 2049 17
c o m p u t e r s a n d e l e c t r o n i c s i n a g r i c u l t u r e x x x ( 2 0 0 7 ) xxxxxx
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
3.
3.1.
Algorithm AL1
OF
245
RO
244
DP
243
TE
242
EC
241
Table 1 Hourly summaries of bird behaviour from video recordings (hen 4, thermoneutral conditions)
RR
240
Time (hh:mm)
5:00
6:00
7:00
8:00
9:00
10:00
11:00
12:00
5:0012:00 Total (%)
14:00
15:00
16:00
17:00
18:00
19:00
20:00
Number of feeding
events
Number of drinking
events
5
3
7
2
7
4
5
8
0
4
4
2
4
3
2
2
41
21
7
1
8
6
5
10
5
5
0
6
6
3
8
4
42
32
CO
239
UN
238
Waterer
0
221
191
174
248
208
114
153
1309 (4.5)
198
0
186
278
164
446
129
1401 (5.6)
Other
3441
3036
2857
2927
2403
2863
2911
2936
23374 (81.2)
2645
3543
2821
2672
2715
1573
2850
18819 (74.7)
Feed consumed
(g)
3
5.8
6.5
7.4
9.6
3.5
6
3.5
37.9
7.9
0.8
7
6.9
9.8
16.5
7.9
56.8
Please cite this article in press as: Gates, R.S., Xin, H., Extracting poultry behaviour from time-series weigh scale records, Comput. Electron.
COMPAG 2049 17
Agric. (2007), doi:10.1016/j.compag.2007.08.015
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
ARTICLE IN PRESS
COMPAG 2049 17
c o m p u t e r s a n d e l e c t r o n i c s i n a g r i c u l t u r e x x x ( 2 0 0 7 ) xxxxxx
Table 2 Summary of results using AL2 on the data in Table 1, with parameters: WT = 0.5 g, EET = 12 and ARMAnpoints = 3
Total feeding time
5:0012:00
(s)
%
Error (%)
4436
17.6
3724
14.8
9.5
186
14:0020:00
(s)
%
Error (%)
5512
21.9
4760
18.9
1.6
176
Totals
(s)
%
Error (%)
9948
19.7
8484
16.8
5.2
362
3.2.
Algorithm AL2
3.3.
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
335
336
337
338
339
340
341
TE
310
EC
309
RR
308
CO
307
UN
306
39.5
621
53.5
1388
93.0
1.8
DP
334
305
767
5.8
333
304
4.2
303
OF
302
RO
Time period
3.4.
Other effects
A low frequency band pass lter (pass band 1e2 to 5e0 Hz)
was applied to the high-frequency data, and the resultant ltered data were subjected to analysis with both algorithms.
AL1 provided nearly identical results with the ltered data at
Ts = 0.1 s, if WT was held at 0.5 g; however, six meals and a
total of 5.8 g feed consumption were predicted if meal weight
threshold WT was reduced to 0.2 g. AL2 over predicted number
of meals and total feed consumed.
4.
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
Please cite this article in press as: Gates, R.S., Xin, H., Extracting poultry behaviour from time-series weigh scale records, Comput. Electron.
COMPAG 2049 17
Agric. (2007), doi:10.1016/j.compag.2007.08.015
377
378
ARTICLE IN PRESS
COMPAG 2049 17
c o m p u t e r s a n d e l e c t r o n i c s i n a g r i c u l t u r e x x x ( 2 0 0 7 ) xxxxxx
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
402
403
404
405
406
TE
407
408
409
410
413
414
415
416
417
Q2
418
Uncited reference
Persyn et al. (2002).
Acknowledgements
421
422
423
424
425
426
UN
419
CO
412
RR
EC
411
420
references
DP
401
OF
380
RO
379
Please cite this article in press as: Gates, R.S., Xin, H., Extracting poultry behaviour from time-series weigh scale records, Comput. Electron.
COMPAG 2049 17
Agric. (2007), doi:10.1016/j.compag.2007.08.015
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472