230 likes | 314 Views
Roboat Final Presentation. Jonathan Friedman Dave Maccaferri Josh McKenna Chris Wieczorek. Roboat Project Goals. The Roboat platform is intended to be an autonomous robotic system for marine application in both the government and commercial sectors. Features
E N D
Roboat Final Presentation Jonathan Friedman Dave Maccaferri Josh McKenna Chris Wieczorek
Roboat Project Goals The Roboat platform is intended to be an autonomous robotic system for marine application in both the government and commercial sectors. • Features • 1 PIC18F452, 2 PIC18F252 Embedded Microcontrollers • 50x50 pixel, 4 bit color Digital Camera • Onboard Digital Compass and GPS Unit • 19,200 baud Serial Data link • Windows GUI Interface Percent Completed 86% 100% 100% 100% 95%
Embedded Systems-Schematic Maxstream XStream Modem Gameboy Camera and Maxim 114 A/D PNI Vector 2x Digital Compass PIC18F252 GPS & Camera GPS LM2940 Voltage Regulator Mast Headers PIC18F252 Modem DIP Switches RS-232 Breakout PIC18F452 Navigation and Host
Embedded Systems-PC Board PC Board-Top PC Board-Bottom • Layout from OrCAD schematic • Routing preformed by OrCAD and by hand due to density of board • 537 holes, 60 feet of trace, 67 parts in a minuscule 27 square inches • PCBoard fabricated by PCBExpress- $100, 24 Hour completion
Embedded Systems-MicroControllers Navigation & host Controller PIC18F452 Camera & GPS Controller PIC18F252 Modem Controller PIC18F252 2.5 Mhz (6.25Mbps) interrupt driven, random initiation, single-point arbitrated, Serial Peripheral Interface (SPI) on-boat data bus among 4 devices (PIC’s + Compass).
Embedded Systems-On Boat Data Flow GPS & camera data stream limited to once per second (~5ms bus transfer time) by PIC#2 GPS PIC#2: SLAVE CAMERA Termination point for navigation data. Telemetry generation point. PIC#1: MASTER Fully asynchronous communication Command Console MODEM PIC#3: SLAVE Data packing and processing. Scheduled (generation limited) Unscheduled (random arrival)
Embedded Systems-Mechanisms of Bus Arbitration • Scheduled production of output (Compass) • Bandwidth limited production of output (GPS, Camera) • Feedback-based flow control (buffer overflow interconnects among PIC’s) • Panic data loss (Ability to give up on this data and just look for the next) • Hardware flow-control and buffering (Modem, PIC#2, PIC#3)
Physical Boat-Under the Cabin Push Button Toggle Switch (hidden) 27MHz / Microcontroller Switch (hidden) LED Mast Gameboy Camera
Video • Specifications • Analog Output • 8-bit (256 Colors) Capable • 4-bit depth used • Works with A/D converter to interface with PIC • Functionality • Image Acquisition • Streaming Video (1 fps) • On-the-fly adjustable Gain and Exposure Settings
Video • Initial Images Stages • Improved 32x32 Resolution Pictures • Improved 50x50 Resolution Pictures
Video • Camera Mounting and Cabling
Navigation Properties: • SPI • Calibrates for constant magnetic fields • Binary Output • Fast settle time (5 Hz) Functionality: • Heading changes • Check GPS heading data
Navigation (continued) Waypoint Heading • MACRO driven • 3 major turns and 1 corrective turn per side • Heading relayed from GPS every second • This guarantees accurate comparisons between the waypoint heading and current heading • Averages 3 heading readings when running straight • Counters the boat rocking Straight -5 +5 Corrective Right Corrective Left Light Right -15 +15 Light Left -45 +45 Med Right Med Left -90 +90 Hard Right Hard Left 180
SPI/RF Protocol • Example packet: Panic Stop • FF 21 00 FF 00
GUI • Multithreaded Windows Application • Ability to command Roboat. • Display Roboat telemetry data. • Calculate the heading to a waypoint and then transmit it to the Roboat • Display images from the onboard camera. • Provide a waypoints list.
Project Management • A Yahoo group was used for group collaboration • Tasks where segmented according to core competencies. • Hardware/software was codeveloped. • More than 150 e-mails were sent among group members • The team found that the Lab space was lacking in basic engineering tools such as millimeters, DC Power supplies, and oscilloscope probes, solder stations, and mechanical tools. An entire 3042 lab setup would have been useful.