Virtual Fence IC Design

From Mindworks
Jump to navigation Jump to search
Sponsors Uidaho CNR and Design Magnitude
Team Name Shock'em
Duration AUG,2019~MAY,2020
Faculty Adviser
  • Mohamed Hefeida
  • Feng Li
  • Client
  • Peter Baran
  • Jason W. Karl
  • Team Members
    • Xuyue Gu
    • Ziqing Zhu
    • Austin Grieve
    • Lauren Smith
    • Samantha Baran

    The goal of the project is to design a virtual fence system that keeps cattle in an enclosed area. The system consists of posts along the perimeter and low weight and power devices on the cattle that delivers high voltage stimulus if cattle are near the perimeter.

    Problem Definition[edit]

    Now the current limitations are

  • Expensive, complex, and Bulky
  • GPS-based (not always reliable and energy hungry)Require getting the perimeter loaded onto eachdevice (intensive effort and/or requires internetconnection)
  • Strong/heavy energy source must be on animal may cause stress on animals not knowing where the perimeter is
  • May require monthly subscription

    Background[edit]

    We used to use a barbed wire fence as a border to restrict the movement of cow. But the barbed wire cost is very high and not easy to move, it may injure animals, And requires regular maintenance. Also the rancher cannot check the position and status of the cow at any time. He must go to the farm on his own to see if the cow is out of range.

    Value Proposition[edit]

    Current virtual fencing attempts rely on bulky, power- hungry, GPS-based systems with limited scalability for typical range livestock operations in Idaho and the West due to expense and connectivity requirements. This project aims to reduce costs and power requirements by locating cows using local beacons and administrating a shock or warning sound to the animal via a device in their ear tag.

    Deliverables[edit]

    Permanent Beacons[edit]

  • Locate cow/fence marker
  • Buzz the cow as it nears the boundary
  • Zap the cow if it exceeds the boundary
  • Store the data/information
  • Reply to status and data requests from the base station
  • Communication protocols

    Mobile Beacons[edit]

  • Markers for Fence Line Nose Clip
  • Buzz
  • Zap
  • Long life
    User Interface
  • A user interface for the rancher

    BuzzZap Device (Device on the cow)[edit]

  • Circuitry that allows the Beacon to determine distance to the BuzzZap device
  • Listen for commands from Beacons
  • Buzz Cow (a warning noise)
  • Zap Cow (administer a shock)
  • Respond to Beacons with unique ID number

    Specifications[edit]

    Nanotron Devices

  • Measure distance based on time of flight
  • 500m range
  • Operates at 2.4 GHz (Zigbee)
  • 3.3 V, 120 mA
  • Low Power Options
  • Nanotron.jpg

    Design Considerations[edit]

    We are developing a simplified,low-cost approach to virtual fencing that leverages animal physiology and behavior, proximity beacons, and lightweight electronic nose clips to manage cattle distribution.

  • Permanent beacons on perimeter of rangeland 
  • A host device on each permanent beacon connects a Nanotron device with an Arduino to control communications
  • Mobile Fence posts to define the fenced region
  • Cow devices to locate cows and shock or buzz them when needed
    System diagram1.jpg Circuit1.jpg

    Trilateration[edit]

    It's a method to determine the location of a movable vehicle or stationary point in space using multiple ranges between the point and multiple spatially-separated known locations.By measuring the distance between the unknown point and the three known points, and taking the three known points as the center of the circle and the distance from the unknown point as the radius, we draw the circle,the three circles intersect and produce only one intersection point, so we can know the coordinates of our unknown points.

    The beacons can be put at any position,and we can get the location of these base beacons by GPS, add them into our code, and then the GPS data is no longer required in our project.

    This method allows for error from:

  • Exact location of receiver
  • Distance from receiver
    Measure diagram1.jpg

    Nanotron Program[edit]

    Program.jpg

    PCB[edit]

    The shock circuit prototype shown, is designed to fit on the cow’s ear tag. The device has a Nanotron module incorporated.  The device can send and receive signals via the Nanotron module and shock the cow or buzz the cow after receiving instructions from the permanent beacon devices.

  • Version1
    PCB1.jpg
  • Version2
    PCBv2.jpg
  • Version3
    PCB2.jpg

    Project Learning[edit]

    Nanotron diagram1.jpg

    Field Test[edit]

    We need to do some field tests to check if our locating system is worked.

    First Field Test[edit]

  • We want to see if we could just locate a single target, we realize that 2.4GHz signal were effected by water since the ground were wet. We did not get any signal until we held each nanotron device high. Once we did that, we did have a successful locating system.
  • We started at know locations using 100 meter tapes such as (32, 23) and calculated the location as (32.2, 22.9). VERY close!
  • After a few confirmation tests like that, we went to an unknown location and came up with this. The blue dot is our location and the red stars are our beacons. The circles visualize the distance from the individual beacon to the point of interest.
  • Field Test1.jpg

    Second Field Test[edit]

  • we use 3 beacons​ and 1 "cow"​
  • Coax Cable and high gain antennae to improve range​
  • Field Test2-1.jpg
  • Field Test2-3.jpg
  • Field Test2-2.jpg
  • During testing, there were consistent issues regarding signal strength. Various coax cables and antennas were tested with moderate success. Further investigation into signal strength is required. The shock circuit, in order to comply with animal welfare guidelines, must weigh less than 50 grams total. The current prototype weighs 76 grams. A reduction in component size, smaller footprint, and improved transformer design could allow for the targeted weight goal. The last field test performed had very encouraging results and was able to successfully locate a target within 1 meter.

    Design Evaluation[edit]

    Physical Requirements[edit]

    Steers are notorious for destroying anything that is on or near them. For this reason, the biggest concern is the durability of the device itself. The original device was intended to attach to a steer’s septum, that is the soft fleshy part just inside the nasal cavity. Several versions of the case were designed and printed with a 3D printer and tested by placing the devices on an animal while they were confined by a squeeze chute. The animals were released and monitored for up to a month. Testing showed that no matter what design was considered, the animals would rub the device on the ground or on a fence post to remove them forcefully. Some designs fell off as the plastic heated in the sun and deformed. The few devices that did remain often caused irritation within the nasal cavity or in the extreme circumstances, pierce the septum. Ear tags are already a commonly used product designed to remain attached to a steer at all times. Ear tags are small enough that most animals will not rub on them excessively. Because of this, and ear tag design is going to be used moving forward. A company in Australia specializes in producing double ear tags. These double ear tags have electrodes that can be placed on each hole as shown in FIG. 4 in the Concepts Considered section. However, the weight of the total device, including the casing itself, must weigh less than 50 grams. Due to current circumstances, a case has not yet been developed. The current circuit design has a weight of approximately 75 grams. Further development is required to reduce the size and weight of the ear tag device.

    Electrical Requirements[edit]

    Testing steers on shock sensitivity using existing electric dog collars showed that steers react in a definite way, movement timed with applied stimulus, to voltages of 4 kilovolts when applied to the ear. Some steers that had grown accustomed to the test would often require 6 kilovolts. Various high voltage wave forms were tested including DC, pulsing, and AC. Frequency and shock duration were also tested. In the end, an affordable solution was found were steers would react with minimal power requirements. A large requirement was that the device must last four to six months on battery power. The circuit was designed to draw as little power as possible. The current model consumes a couple microamps when in standby mode and six hundred milliamps when actively outputting high voltage stimulus. Because it is unknown how often the animal may receive stimulus, a supplement power source is required. Solar power was added with a regulating chip to charge the battery and can do so at a rate of fifteen milliamps even in very low light conditions. The largest concern regarding the dFMEA is the battery. LiPo batteries do not like excessive heat, improper charging, excessive discharge, or physical damage. These events could lead to the battery catching on fire. To mitigate the risk, the LiPo battery has a built-in discharge circuit that disconnects power in the event of a short. Charging is handled by a dedicated IC specifically designed to charge LiPos from solar sources. The physical aspect means locating the battery away from a location where it is likely to get damaged. As a whole, the device should last several years and should be reused as the herd rotates.


    Future Work[edit]

    There has been a lot of work done on the project this year. The project has advanced significantly, and there is a working proof of concept design that can locate multiple “cows” and shock and buzz when needed. However, there is a lot more to be done on the project for it to be ready for the market. First, there needs to be more work done with the Nanotron devices in order to make them more accurate and reliable. There needs to be more research done in to how to set exact timing for the devices. There also needs to be more work put into determining how to extend the range of the devices beyond 500 meters. Additionally, more printed circuit boards need to be made. The permanent beacon devices need to have an Arduino shield built that connects the Nanotron module to the Arduino in a more compact and reliable format. The cow buzzap devices need to also be more compact and light-weight so they can fit on the cow’s ear tag. Finally, the devices for the mobile fence posts need to be made. Once these additional steps are taken, there will need to be rigorous testing on real animals. There may need to be adjustments to the frequency at which the devices communicate in order to make the system more practical for use in the real world. There could be another year or two at least of work to be done before the system is as reliable and efficient as it should be to be used on the market. As the advancements listed above are made, the overall cost of the system should reduce significantly. Work may be done to reduce the costs of the Nanotron devices either by contracting with the company, or designing a new device that can handle time-of-flight technology.


    Team Members[edit]

    2019 XuyueGu.jpg

    Name: Xuyue Gu
    Major: Electrical Engineering
    Hometown: JiangSu, China
    Responsibility: Organize Team Meetings
    Email: gu8858@vandals.uidaho.edu


    2019 Ziqing.jpg

    Name: Ziqing Zhu
    Major: Electrical Engineering
    Hometown: JiangSu, China
    Responsibility: Be in charge of the Wiki page
    Email: zhu6385@vandals.uidaho.edu


    2019 Austin.jpg

    Name: Austin Grieve
    Major: Mechanical Engineering
    Hometown: Kuna,Idaho
    Responsibility: Client contact
    Email: grie4341@vandals.uidaho.edu


    2019 Lauren.jpg

    Name: Lauren Smith
    Major: Electrical Engineering
    Hometown: Shoreline, Washington
    Responsibility: Be in charge of the budget
    Email: smit3609@vandals.uidaho.edu


    2019 Samantha.jpg

    Name: Samantha Baran
    Major: Electrical Engineering
    Hometown: Meridian Idaho
    Responsibility: Be in charge of keeping team documentation
    Email: bara3944@vandals.uidaho.edu


    Additional Documentation[edit]

    Project Schedule

    File:2019 Shock'em Project Schedule.pdf
    File:2020 Shock'em Project Schedule.pdf

    Meeting Minutes

    File:2019 Shock'em 9-19 Meeting Minutes.pdf
    File:2019 Shock'em 9-26 Meeting Minutes.pdf
    File:2019 Shock'em 10-3 Meeting Minutes.pdf
    File:2019 Shock'em 10-10 Meeting Minutes.pdf
    File:2019 Shock'em 10-17 Meeting Minutes.pdf
    File:2019 Shock'em 10-24 Meeting Minutes.pdf
    File:2019 Shock'em 10-31 Meeting Minutes.pdf
    File:2019 Shock'em 11-7 Meeting Minutes.pdf
    File:2019 Shock'em 11-14 Meeting Minutes.pdf
    File:2019 Shock'em 12-5 Meeting Minutes.pdf
    File:2020 Shock'em 1-16 Meeting Minutes.pdf
    File:2020 Shock'em 1-22 Meeting Minutes.pdf
    File:2020 Shock'em 1-29 Meeting Minutes.pdf
    File:2020 Shock'em 2-5 Meeting Minutes.pdf
    File:2020 Shock'em 2-12 Meeting Minutes.pdf


    Presentations

    File:2019 Shock'em Snapshot.pdf
    File:2019 Shock'em Presentation.pdf
    File:2020 Shock'em Presentation.pdf
    File:2020 Shock'em EXPOPresentation.pdf
    File:2020 Shock'em EXPOposter.pdf

    Client Interview

    File:2019 Shock'em Client interview.pdf