1 / 30

GPS Guided Car

GPS Guided Car. Mindy Stark Zubair Zerif. Original Design. Square shaped car with two sensors on each side Drawback - Too expensive. Top view of Car. Original Design. Cylinder shaped car with two sensors Able to escape three sided trap. Top View. Current Design.

aloha
Download Presentation

GPS Guided Car

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GPS Guided Car Mindy Stark Zubair Zerif

  2. Original Design • Square shaped car with two sensors on each side • Drawback - Too expensive Top view of Car

  3. Original Design • Cylinder shaped car with two sensors • Able to escape three sided trap Top View

  4. Current Design • Square shaped car with two sensors Top view

  5. Current Design • Sensors are 8 inches above ground • Larger Wheels (8 inches) • Rollers on front and back • Platform on top for GPS

  6. Components of Car • Garmin GPS 12XL • Basic Stamp II • 12-Volt stepper motors • Infrared sensors (10 - 80 cm detection range)

  7. Driver Circuit • Basic Stamp outputs 5 volts • Stepper motors need 12 volts

  8. Basic Stamp / Op-Amp • Vin = 5V • Vout = Vin(1 + R2/R1) = 5(1 + 22/10) = 16V

  9. Op-Amp / Mosfet / Motor • Op-Amp output turns the mosfets on and off • Threshold voltage (turn on voltage) is 2 - 4 volts where Vth > VGS - VDS • Maximum needed Vth = 16 - 12 = 4V

  10. 12 Volt Stepper Motors • Stepping Sequence (right motor rotates clockwise):

  11. IR - Sensors • Sensor will detect objects when requested to do so by logic signal • Measures IR pulse reflection and returns logic signal • Object detection threshold distance can be changed by varying its internal resistance

  12. Direction and Angle • Need to know the orientation of the car • GPS provides current location and destination • Possible solutions • Electronic Compass • Using 3 points to triangulate position

  13. Destination q Direction and Angle N 2 W E 1 S

  14. q F-q Angle to turn = f - q Direction and Angle N 2 f Destination W E S

  15. Tan-1 (dy / dx) + 270 dx dy Tan-1 (dx / dy) Tan-1 (dy / dx) + 90 Tan-1 (dx / dy) +180 Implementation of Angle • Use Inverse Tan

  16. Problems with Implementation • Basic Stamp has no Tan-1 function • 16 bit words • Basic Stamp doesn’t support decimals

  17. Implementation of Angle • Example • dx = 124 • dy = 312 • dx / dy = 0.397 • No decimals allowed = 0

  18. Implementation of Angle • Solution: • dx = 124 * 10 • dy = 312 • dx / dy = 3.97 • No decimals = 3

  19. Implementation of Angle • 16 bit words • 2 ^ 15 = 32,768 • Need 3 digits for accuracy • Leaves one decimal

  20. GPS (Inaccurate) • GPS 12XL (Best accuracy = 13 feet) • More accurate GPS only available • By waterways • In view of the horizon

  21. Distance Requirement for 2 Distinct Points • Initial Distance Between points 1 and 2 was 13 feet • Increased to 35 feet (worked well) • Demo day, we used 50 feet Pt. 1 Pt. 2 Pt. 1 Pt. 2 Pt. 1 Pt. 2

  22. Stepping Sequence Needs Delay • 25 ms delay between steps for the motor • With no delay, motors draw too much current • Better traction for the wheels

  23. Problems with Sensors • 1 sensor stopped working • Range of sensors should be 10 to 80 cm • New sensor didn’t work at a range > 38 cm • Used an average

  24. Problems with Sensors • Instructions and code for interfacing with the Basic Stamp from Acroname • Sensor requires 10 to 24 mA • Basic Stamp sources 20 mA per pin, 40 mA total • Used a 5 volt voltage regulator

  25. Sensors Motor driver circuit - Basic Stamp output $A Stepper sequence - applied by hand Run motors Turn right, left GPS input Angle algorithm Overall system Testing

  26. Improvements(1) • Problem: Car needs to travel long distances for distinct points • Solution: Buy a much better GPS unit • According to Garmin Technical support, a $40,000 unit is required!!!

  27. Improvements(2) • Problem: • Vehicle is too slow • Solution: • 1.) Make car lighter • 2.) Use DC motors

  28. Improvements(3) • Problem: 8 AA batteries don’t last very long • Solution: Use 12 volt battery that has a longer life.

More Related