2015 Annual Report for FNE14-814
Livestock tracking system
Summary
This project provides a low cost, easy to use method for tracking livestock anywhere and accessing the data about livestock movement from a PC web or hand held device. It tracks specific animals in a single pasture including 1) normal movement, 2) non-movement which could indicate sickness, entrapment or death, 3) loss of animal via theft or escape 4) excessive movements indicating stress or predator presence. Using existing technology livestock are tracked remotely without visiting the pasture. Pasture grazing patterns are captured to help improve pasture management.
Objectives/Performance Targets
This project remotely monitors the location of large livestock and potentially, equipment. (“Large” is typically greater than 75 lbs.)
-
With 98% accuracy, count the number of livestock in two separate fields using a computer or smart phone application.
-
With 98% accuracy determine the movements of livestock within two separate fields using a computer or smart phone application.
-
Demonstrate an application for counting and tracking livestock that is less than $300/base station and less than $35/tag.
Accomplishments/Milestones
The following has been accomplished:
-
All three base stations have been built and are under test. One ear tag has been built, but may need rebuilding after testing and before putting on an animal.
-
Most of the software has been written, and testing has indicated other software may need to be written as some configuring and use requires some sophisticated knowledge that your average farmer won't have; for example: setting up a network server (DHCP, DNS, SSH, …), using encrypted data streams, ...
Last year's problem has been ignored for now – we're trying to get all other software in place, and then we'll concentrate on getting the timing software working. There appears to be another way of approaching the problem (using real-time features of the Linux kernel instead of modifying a device driver).
-
Initial testing has indicated that a fail-over technique between the base stations is needed for transferring collected data to the server for display. This is a significant undertaking (several weeks of development just to get something to test), so this task will be deferred to a later release. Current, we're just assuming each base station has internet access.
-
Significant research has been done and found/not found:
-
Similar purposed products, described in a section of the same name.
-
BovControl is doing something similar, but they're using rough location (as returned by a GPS). Also, they're using mesh networking, which I don't think will work for finding where animals left the field. (Mesh networking is good for when all the animals stick together, but not for when they spread apart.) Their initial target audience seems to be the dairy farmers.
Similar Purposed Products
The following products which provide functions similar to this projects are listed below along with a description.
-
“Beagleboard:Radarcape”; http://elinux.org/Beagleboard:Radarcape. Designed more for tracking aircraft than small transceivers, but indicates that the method used in this project is appropriate for our purposes.
-
BovControl; http://www.bovcontrol.com. A project similar to ours with a more focused audience. We worked with them at the Maker lab in Boston and exchanged ideas. They are producing a proprietary system.
-
WPI Campus Safety System. A much more ambitious project regarding tracking and safety on a college campus. This project was a partial fulfillment of the requirements for the Degress of Bachelor of Science by at least four students at WPI. The advising professor is Susan Jarvis.
-
“Move over GPS – Get Ready for Indoor Location” - an article by Cory Von Wallenstein in March 2015 of Business NH Magazine.
-
“Livestock Management System” - https://www.ndsu.edu/pubweb/~scotsmit/ESA2644.pdf – a research paper describing a system similar to ours, but with an emphasis on collecting data from the animal.
-
“Containing Cattle with GPS Virtual Fencing” - http://forum.allaboutcircuits.com/threads/containing-cattle-with-gps-virtual-fencing.85640/ - a similar project but in a conceptual stage.
-
“Efficient Mobile Asset Tracking and Localization in Zigbee Wireless Network” - http://www.jacn.net/vol3/132-W004.pdf – a paper in the Journal of Advances in Computer Networks Vol 3 No 1 March 2015. This describes how to do localization using the Xbee's RSSI data.
-
“Trilateralization using RSSI” - http://forum.arduino.cc/index.php?topic=196681.0. Comments from someone who appears to have experience with RSSI in Xbee's.
Bibliography
I have come across the following information in the pursuit of this project:
-
“BeagleBone Black System Reference Manual”. Revision C, March 21, 2014. gerald@beagleboard.org
-
“Introduction to the BeagleBone Black Device Tree”. Justin Cooper; Adafruit Learning System. Www.adafruit.com
-
“BeagleBone Black”. https://eewiki.net/display/linuxonarm/BeagleBone+Black
-
“Setting up IO Python Library on BeagleBone Black”. Justin Cooper; Adafruit Learning Systems. Www.adafruit.com
-
“Trilateration”. http://en.wikipedia.org/wiki/Trilateration
-
“Multilateration”. http://en.wikipedia.org/wiki/Multilateration
-
“Trilateration using 3 latitude and longitude points, and 3 distances”. http://gis.stackexchange.com/questions/66/trilateration-using-3-latitude-and-longitude-points-and-3-distances
-
“Trilateration algorithm for n amount of points”. http://gis.stackexchange.com/questions/40660/trilateration-algorithm-for-n-amount-of-points
Impacts and Contributions/Outcomes
The following has been accomplished as planned:
-
Working prototypes.
-
Initial testing.
The following has not been accomplished as planned:
-
In field testing with cattle.
Impacts and Contributions/Outcomes
Because the hardware/software did not perform as expected, the following will be done:
-
Concentrate on the non-driver software (web interface and protocols for talking to the server)
-
Periodically go back to the community to see if there is any progress on the multiplexed I/O issues.
The following software has been created and tested (and modified) to some degree:
-
scantags – used during configuring to find all the tags (and base stations) within range
-
pingtags – used during normal operation to send detected distances to the database server.
-
gpscap – reads and records the data coming from the attached GPS receiver.
-
settagid – configures tags for the system when they are first acquired.
-
xbeeat – a utility program for diagnosing problems with the radios on the ear tags and base stations (Xbee radios).
-
setapi – another part of the process of configuring tags for the system when they are first acquired.
-
makedb – creates a local database for use by gpscap; this will probably be deprecated in favor of using a more powerful database on a server.
-
senddata.sh – sends received distance information from the tags to the server.
-
A number of utilities and other software was created to facilitate the base stations running unattended.
Collaborators:
Farm Administrator
56 Whitehouse Rd
Loudon, NH 03307
Office Phone: 6037835159
Website: www.milessmithfarm.com
Farm Administrator
Miles Smith Farm
56 Whitehouse Rd
Loudon, NH 03307
Office Phone: 6037835159
Website: www.milessmithfarm.com
Agricultural Educator - Technical Advisor
UNH Cooperative Extension Service
315 Daniel Webster Hwy
Boscawen, New Hampshire 03303
Office Phone: 603 796-2151 ext 329