Track sheep!

Hi,

I’m an IT professional with some land and some livestock. I am a part time farmer, but am very part time, and am looking for ways of saving time in every aspect of my farming. One of the most time consuming parts of the job is counting the livestock, and just generally monitoring them. Sometimes you just won’t notice problems unless you just watch for a while. Good animal husbandry is not something you can rush. However, it is something you can do more efficiently I think!!

Being a bit of a techie, I’m interested in ways of improving the efficiency of this process, to free up more time to do a bit more “productive” farming.

I know absolutely nothing about electronics, but here is my idea:

Produce a small weatherproof device that is strapped to the animal and does the following:

  1. power/charge itself from the movement of the animal, like a kinetic watch that needs no batteries (or at least only needs batteries change every few weeks)

  2. send the coordinates of it’s position at preset intervals. I’d like a google type map of my farm with dots representing each animal. I’d like to be able to calculate how far/fast each animal has moved, with warnings being flagged if an animal has not moved for a long period of time, or is constantly moving rapidly (both bad signs), and needs attention.

I’m thinking/hoping some sort of gps coordinates could be transmitted in some way ultimately to a server which will plot them on a map, and process the data to generate any warnings, etc.

  1. Minimum running costs (e.g. network charges , etc)

  2. Minimum maintenance. Little use if i have to catch every animal every few days to change batteries, manually download info, or whatever.

I have seen various products on your site that might be combined to achieve this (e.g parcel tracker is a good start).

So i guess I’m wondering if my wishlist is in anyway achievable or realistic, and if anyone has suggestions on how I might go about it.

Even suggestions of books on electronics to help me understand my options would be useful.

There are commercial options available, but they are expensive, and thats no fun!

Many thanks,

Highway.

Highway:
Hi,

  1. power/charge itself from the movement of the animal, like a kinetic watch that needs no batteries (or at least only needs batteries change every few weeks)

There simply isn’t going to be enough power generated to be useful here. GPS units and any long range wireless devices are also power hogs.

Highway:
2. send the coordinates of it’s position at preset intervals. I’d like a google type map of my farm with dots representing each animal. I’d like to be able to calculate how far/fast each animal has moved, with warnings being flagged if an animal has not moved for a long period of time, or is constantly moving rapidly (both bad signs), and needs attention.

This is the tough one.

Your options are:

  1. Cellular data. High power. Needs service on your land, plus large cost PER device. Bonus point: if someone steals your sheep, you may be able to track it if the collar is still attached :wink:

  2. Wifi. High power. Really depends on your geography. Complex software requirement.

  3. Low power mesh network. Complex to design and implement. May not be a complete mesh (not all animals reachable, not reachable to the base)

  4. Higher power “mesh” (the over 1mW transmitters). A compromise between Wifi and low power mesh networks. Depends on the geography and distance. Probably the cheapest route. Use them in a simple star configuration for simplicity.

Battery life with GPS and Wifi is always a concern. The upside is you may be able to make do with minimal reporting times (take a snapshot once an hour for instance) which will help a lot in this area. Depending on the chosen technology, and hardware design, you should be able to get month+ from many power sources.

I work a lot with very low power devices at the “day job”, and get year+ power from AA cells using low power mesh networks (no GPS of course). Your enemy is distance and wireless.

You’ll probably need firmware authoring expierience for all of this.

Thanks very much for the very prompt reply.

I figured that power would be the issue, but you’ve given me something to go on at least.

Highway.

The power issue might be surmountable. Duty cycle is your friend here. Basically, if you only turn the system on once an hour for 2 minutes then you really need to generate 1/30 of the draw. In practice, you will need a somewhat higher current due to losses but we can ignore that for the first cut. So take the current draw of the devices, figure out how long each device needs to run and then do the math. Once you’ve computed the total current draw then you can determine the average need.

Next you’ll need to determine the how the generator is going to work and how much it’s going to generate. I can’t help you on that - maybe you need to experiment. A quick google of linear generator has some interesting hits - mostly for wave energy generators but the concepts are the same.

By the way, the GPS units look like they won’t pull that much current (~30 mA at 3.3V) and it looks like they will run for less than minute to get a lock. Not cheap though.

Thanks for that info. I think I’m out of my depth, but I’ll look into the generator and see if i can figure it out.

Highway.

Recharge with solar ?

I was thinking of something like that myself, but don’t know enough about it.

Here is a crazy idea! Is it possible to setup my own access point, as a mobile carrier would use, and buy and program blank sim cards to communicate with that? Probably need licensed frequency, and a lot load of stuff.

Nevertheless, if i had a box that has a gps unit to gather location/speed, etc and solar panel to keep the battery charged, and a private apn that communicates with diy sim cards to upload the data to my webserver, all in a weatherproof box.

Highway.

Interesting idea.

Is there any reason you’re not using a sheepdog? I also live on a farm (http://softwarefromthefarm.blogspot.com – we have chickens and horses) and I have the same thoughts. It’s like a second job and anything you can do to save time is worthwhile. However, sometimes the old ways work best :slight_smile:

My thought would be to have small RFID units on each head of livestock and if you know that your dog (if you have one) will herd them past a reader once a day, that will take care of the counting problem. As far as animal health goes, it might be simpler to have a few remote solar powered WiFi cameras that can be panned to look for downed sheep or predators.

It is an interesting idea: animals are always escaping their confinement and this would be one way to know before they got too far away and hurt themselves. I’m sure other farmers would be interested.

as lyndon suggested, RFID may be your best option. I have seen similar systems used in Australia. All of the station’s cattle are individually tagged and positioned at certain gates around the property there are RFID tag readers. whenever a head of cattle passes the reader, its position is recorded.

The property has a large database containing the age, date of purchase, weight, vacinations and bloodline of all their cattle. I guess it helps them sort out which cow/steer goes to the abattoir today and which one goes next week :wink:

Hi

How about using GPS animal trackers, they are expensive to start with but running cost might be low and they usually run for months some time for years.

we make thse for marine mammals

http://www.smru.st-andrews.ac.uk/Instru … px?psr=287

other companies that make such technology are bluesky telemetry in UK, wildlifecomputers in USA and Sirtack in NewZealand.

Thanks for all your answers. I’m encouraged that my idea is not considered daft.

I don’t have my own dog at the moment, (use my dads when needed, but he usually ignores me, the dog that is!). I had thought of running all the stock through a gap with a reader of some sort positioned there, but having to go to the field with the dog and round up the livestock (the walls are currently bad, and they can roam considerably) to run them through a particular gap/gaps would probably not take much less time than just counting them.

When I do get the walls repaired and am able put in a proper rotational grazing plan then I think this simple idea would work fine. However, if i did manage to get something working for myself this way, it definitely would not work for my Dad’s land due to it’s layout, so I might as well try and do something we can both use.

The wifi camera idea is a good one too, I hadn’t thought of that at all. Again though, with the land layout, I’d need a lot of them, and my Dad would need a trailer load.

What might work with the RFID tags idea is to simply drive around with a

reader on the tractor, and drive within comms range of the flock. I could then possibly analyse the data right there on a laptop (or a smartphone or whatever) and get an immedidate count and any suspicious stats. If there is one missing, the system would know which one and where it last was seen. This could be the most cost effective.

I would not mind the driving part so much, just not having to do 10 laps to get the count right and then sit there watching any unusual behaviour for half an hour.

Teekay_tk, your solution is precisely what i am looking for, but is way outside my budget unfortunately. Now if it was possible to make a diy version, with a private mobile apn or something, etc, then I’d be sorted!

Would you be interested in such a project?!

Highway.

You could definitely something similar to one of the post above where you have readers in various locations on you land (close to a water source is a good place) and use a GM862-GPS in combination with an RFID reader. Check this link out: http://zigbeef.com/ good luck.

Here’s a more out-there idea:

Put a camera on a tethered balloon. Let it rise up to a few hundred feet, take a photo of the field and have a computer vision system count sheep.

henryhallam:
…have a computer vision system count sheep.

Wouldn’t that put the computer vision system to sleep? :wink:

Sorry - couldn’t resist.

Hi,

I guess you can utilize the mesh network concept to help localize the sheep locations in the farm. You can place higher power radios on stagnant position. Whenever the sheep moves a particular fixed higher power radio, it will be identified to be around this fixed radio location provided that the sheep is carrying lower power radio version. The receiver at your home can then do a route check on where the data came from and from which sheep. Using low power module (0 dBm), a coin cell may last you a year or so. But the fixed radio probably needs a small size solar. This method might not be super accurate in terms of positioning but provides location approximation up to a certain degree. If you want it to last slightly longer, I saw some very very tiny solar cell (as small as 0603 SMD resistor), can series a few of them in order to have enough current to charge the batteries and Sparkfun carries the rechargeable coin cell too!

We tried to do horse tracking last time for a horse race event using similar approach. The only different is sheep moves slower than horse. :smiley:

Check out http://translate.google.com/translate?u … l=no&tl=en (page translated to english by google). This is a Norwegian company who is currently developing a sheep-tracking system, using a combination of GPS, GPRS and UHF. It works! :slight_smile:

I am looking for the exact same type of thing with out the power requirements.

I need mine to run for 24 hours. GPS, and communicate either by some long range tech or GMRS so it can use my repeater.

Interseting project : )

A popular way is to use 125khz ear tag for cattle counting, but if you want to track, it’s quite advanced for a ready to go solution.

Maybe you may consider active RFID. You have beacon (reader and writer) spreaded in meshwork on the farm, whenever the sheep enters the region, a beacon write its coordinates and timestemp into the RFID tag. Also, you can equip GPRS or GSM module to the portal to send events to your host computer. If you don’t need an instant monitoring, collect data when they come back home.

The beacon could be solar powered, GPS is not a must since you can record the coordinates when you setup it.

Active RFID tag usually has a battery lasting 1-2 years, water proof.

This place actually started out as a project to track sheep in difficult terrain:

http://www.fablab.no/ (The site is part english and part Norwegian).

I have no idea if they reached a solution, but might be worth checking out.

In my mind, the better solution may be using the Xbee systems. These systems in and of themeselves will not give you location information. However, if you have an area your sheep will be in, put FIXED xbee systems in the corners of the area, and then you could track where the sheep are by looking at the signal strength between the sheep and the 4 corners. I saw a company doing something similar to this at the Boston Embedded Systems Conference a few years ago.

The key thing about xbee systems is that they have really good range when used as “Line of sight” especially depending on which devices you use (some of them go as far as 60 km (or miles, I forget which…) line of sight and could go farther but cant due to the curvature of the earth. I"m guessing you dont need really really accurate location for the sheep, just a “rough” idea so if you want to find them you can see where they are. I suspect with the xbee location you can get +/- 20 feet location sensitivity (which may be enough?). If the area is very hilly, you can get smart about putting the fixed xbee systems at the top of the hill (and therefore get good line of sight range).

You can have the fixed XBee systems “ping” each sheep every minute or so, and then have the location information fed back to your computer and have that information put up on google maps.

Using Xbee systems, this wouldnt be too expensive per sheep (~$35-$75 depending on which xbee system you would need.) The software on this wouldn’t be trivial, but has many parts (google maps, location determination, etc…). If you have an Engineering college near you, this sounds like an excellent Senior Project for some electrical engineers or computer systems engineers (and a good way to get some free work done!).