NAVSEA Robosub Competition

The Naval Sea Systems Command (NAVSEA) sponsors an annual competition for autonomous robotic submarines (Robosubs). The competition is hosted in San Diego, CA, and challenges engineering skills across multiple disciplines. The competition team brings together engineers from across the Palouse, but this page highlights the efforts of the University of Idaho Capstone Design team.

Problem Definition
Our main goal for the year is to design and produce a working, autonomous submarine capable of completing specified goals and tasks while meeting club and competition needs and requirements

Background
Launched in 1997 and co sponsored by the Association for Unmanned Vehicle Systems International (AUVSI) and the Office of Naval Research (ONR), the goal of Robosub is to advance development of Autonomous Underwater Vehicles (AUVs) by challenging new generations of engineers to perform realistic missions in an underwater environment. The competition is open to high school and college teams from around the world and is held each year at the U.S. Navy Space and Naval Warfare Systems Center Pacific's TRANSDEC Anechoic pool in San Diego, CA.

Design Objectives
The Autonomous Submarine must be able to complete numerous tasks designated by the competition.

These tasks include:  Going through a starting gate Navigating from task site to task site on a course using visual and audio cues Dropping markers at specified locations Picking up, carrying, and dropping specified objects Accurately deploying torpedoes at targets Completing physical puzzles using a manipulative arm  How well each task is completed goes towards the overall team score for the competition. Other scoring can be attributed to subjective scoring.

These tasks include:  Team Website</li> Technical merit (Journal)</li> Written Style (Journal)</li> Tech accomplishments</li> Craftsmanship</li> Team Uniform</li> Team Video</li> Discretionary Static Points</li> </ul>

Project Learning
Organized by Team



Mechanical Engineering
 Sub Stand The submarine stand will make for better presentation and easier repairs/modifications. The stand is intended to both hold the sub and allow the user to rotate it along a central axis running parallel to the electrical components bay. This should be fairly easy to accomplish since it is fairly similar to an engine stand. This project will be completed by first examining current device that perform similarly to this one. If a device is readily available that can be modified, this option will be explored first. If not, the device will be engineered similarly, but customized for our particular needs. </li>  Camera Waterproofing The cameras selected by the other teams will be mounted to the sub and waterproofed by the mechanical engineering team. They will need to be mounted such that they will perform as required for the competition, but do not interfere with other devices. Depending on the cameras selected, the mechanical engineering team will first search for predesigned and waterproof certified cases. If no such cases are available, the mechanical engineering team will design cases that will be capable of being placed underwater to the max depth of the arena. Mounting will be designed accordingly to work with the case </li>  Additional Battery Tube Make an additional waterproof carrying tube for the sub’s battery which allows for hot swapping during testing. This saves the team critical time that would otherwise be wasted with the monotonous activity replacing the battery inside its waterproof casing, rather than just swapping out the case. </li>  Bottom Claw Systems Design and manufacture bottom claws for the sub that will operate using pneumatics. We want to put multiple less robust claws on the bottom so that we have the opportunity to grab more than one object at a time. </li>  Pin Removal System Design and manufacture a pin removal System (PRS) for the sub that will operate using pneumatics. Mounted to the front of the sub the PRS will be used for removing a magnetic pin from a wall and reattach it in an alternate place. </li>  Marker Dropper The current marker dropper system on the submarine is integrated into the forward claws. This year we would like to separate the two systems so neither relies upon the other. We want all of our systems to work independently of one another. This should allow us to build specific designs which alternatively may help increase the accuracy and speed of each. Markers must be expendable. </li>  New Pneumatic Housing Currently we only have one system running off of air. We are planning on switching both of the claws, forward and bottom, to pneumatics. To do this we will need a new pneumatic housing to hold all of the required components. Not only does the size of the tube need to change, but also location. </li>  Electronics Bracket The current 3d printed brackets allows for too much of the electronic piece to be open to the environment. This causes a problem for other electronics due to the majority of the piece being exposed while electricity is running through it. A new design is needed to fully house the piece while only allowing the pins on the top to be exposed. </li> <li> Bouyancy Confirm the new volume of the submarine to determine 0.5% of total mass and buoyancy. This is important because the competition rules states that “All vehicles must be buoyant by at least one half of one percent (0.5%) of their mass when they have been shut off through the kill switch.” </li>

Computer Science


<li> New Cameras The Robosub will be getting new cameras that have fish eye lenses. Calibration will be necessary to remove the radial distortion (fish-eye effect) and tangential distortion (distortion caused when the lens is not parallel to the plane). Since the front of the sub will have two cameras we will also need stereoscopic calibration. </li> <li> Computer Vision The Robosub's vision components are being redesigned from the ground up to include dynamic filter tree systems to improve aquatic object recognition. The OpenCV library will be used heavily in the implementation. The vision will be an area with constant room for improvement, however the direct goals are to successfully identify various shapes and sizes of colored objects in a pool, regardless of interference surface light. </li> <li> Artificial Intelligence The artificial intelligence needed for the Robosub to complete tasks requires a fresh implementation of mission/task controllers. These systems will correctly prioritize and communicate actions back to the rest of the submarine through the network communications hub. </li> <li> Simulation Environment The Robosub relies heavily on pool tests for testing and they only happen once a month. Simulation environments are being researched to work around this problem. With such an environment tests could be run regardless of even having the sub or a pool. </li> <li> Movement Logic The movement systems rely upon 'fuzzy logic' so as to keep the Robosub's movement responses smooth and consistent. It must be able to keep consistent depth despite natural buoyancy while responding to the AI's requests for movement in a timely and controlled fashion. </li>

Electrical Engineering
<li> Printed Circuit Board Redesign After last years competition it became clear the current printed circuit boards (PCBs) have multiple errors in their component layout and functionality. Several component footprints must be reconfigured and incorrect component values must be replaced. </li> <li> Printed Circuit Board Edge Connectors The current printed circuit boards are difficult to remove from the sub due to a rat's nest of wires connected to the boards. The new boards will have edge connectors implemented into their design to allow for quick removal and to decrease the chances of damage to the boards from excessive handling. </li> <li> Microcontroller Code Organization The submarine microcontroller code that was previously written wasn't thoroughly checked and debugged before the competition in the summer of 2014. Each microcontroller file must be meticulously verified and documented in an online drive account hosted by Robosub of the Palouse. </li> </ul>

Mechanical
<li> Hydrophone Test Bracket Since the Robosub project requires students from both University of Idaho and Washington State University to work together in producing an autonomous submarine, it is easy to see how a problem would arise in submarine possession. Instead of having to leave the submarine at WSU so the Electrical Engineers could test the hydrophone system, we created a mock-up of the front end of the sub which includes brackets to hold the hydrophones so we can keep the sub at the University of Idaho to further our progress on different projects. </li>

<li> Camera Housing The Computer Science and Electrical Engineering teams have chosen a new camera for the 2014-2015 submarine. With this the mechanical engineering team has designed and built underwater housings that properly stabilize the cameras while protecting them from not only water, but other types of physical damage as well. Three cameras will be mounted in different locations around the sub. Locations include two forward for main vision and one on bottom for location of target/deployment of markers with the newly designed marker dropper system. </li>

<li> Marker Droppers The previous years marker droppers were integrated into their forward claw which we wanted to separate and design an independent system for. The design is similar to that of a couple years ago where a pneumatic actuator is mounted with one end fixed and the other variable, depending on if the cylinder is in on/off position. The system is then sent a signal to either open or close depending on the action the sub wishes to take. When the submarine enters the water the position is closed. Once the sub reaches the obstacle requiring it's operation, which the camera and AI will identify, the cylinder is actuated pulling back a slide, letting the "marker" drop into the designated target location. With how simple this system has been built, we not only hope to have high target efficiency, but reliability as well. </li>

<li> Hoist Connection Last year's team used 1/4" rope for the hoist connections when picking up/setting down the submarine into the pool. At competition last year the divers and lift operator were confused when it came to how to make and remove the connections. To avoid this confusion, as well as make a safer system, we have decided to simply remove the rope and, in its stead, use eye bolts. Not only do they have much more strength but this will be easier for the divers to identify how to hook up the sub. </li>

<li> Battery Tube This year both the Electrical Engineering and Computer Science teams requested an alternate battery tube for hot swapping during pool sessions. With this we decided to take it a step further and alter the current battery tube to gain more points in the presentation portion of the Robosub competition. While the previous design included an aluminum cylinder that housed the battery, we decided to change the material to acrylic as well as include blue LED's for a more aesthetically pleasing design. We also chose to remount the battery tube in he aft of the submarine allowing room for the new pneumatic housing that will be worked on second semester. </li>

<li> New Pneumatic Housing The pneumatic housing will be a 3-D printed box what is capable of holding 6 solenoids. We will have four in total, two for the torpedo launcher, two for the marker dropper system, and two extra in case they are needed for next year's competition. The solenoid we've decided on is the same one that was used two years ago by the 2012-2013 team (Clippard MME-41NES-D012). It proved to be reliable for their competition and with its simple mounting procedures it will make for an easy addition anywhere we choose to place it. </li>

<li> Sub Stand Due to the submarine's inability to be fully assembled while sitting on a table (BCS disrupts its safe static positioning), we are forced to remove the claw to work on it. To alleviate this problem we have decided to design a stand that will hold the sub when it is out of water. Features include up/down maneuverability, set rotation at 45° angles, and all terrain wheels. Current scope involves designing/building a stand and verifying it will hold the required weight. Next semester, if time permits, a acrylic case will be added for presentation. </li>

<li> Brush Guards The submarine operates optimally when it is perfectly balanced. To achieve this we have added guards to both sides and cut them specifically to redistribute weight around the vehicle. In addition to balance, the guards provide stabilization to prevent rolling during strafing as well as protection for crucial mechanical and electrical components during operation. The guards also allow for protection of base components, such as bottom thruster and camera, so the submarine can be set down without damaging hardware. </li>

Software
Architecture Each module of the Robosub must be able to effectively communicate with other modules in a timely fashion. The communication model is that of publishers and subscribers, with each module broadcasting updates on their respective processes to be received by each subscribed module. Modules also form a tree of children and parent ownership to accomplish their various tasks.



Vision <ul> <li>Filter Tree - The Robosub will employ a variety of video filtering techniques in order to address the vehicle's various needs. These combinations of compatible and incompatible filters will form a tree of outputs each with specific goals such distance filtering, object detection, etc. <li>Filter GUI - Manipulating these filter combinations will often require a human element, and so requires a simple GUI for calibration in varying environments. <li>Object Detection - Using the edge detection algorithms, the vision module will report sighted objects of classic geometries to the artificial intelligence. <li>Calibration - The cameras will need calibration settings in order to account for camera defects as well as the wide visual perspectives provided by the new fisheye lenses. </ul>

Movement Other students working on the project have constructed the convention that the positive direction of the Z axis should be downward, making it "depth" rather than "height." In order to keep a right-hand coordinate system, this had several consequences. X is positive left and Y is positive forward. The positive directions of pitch and yaw are downward and starboard, respectively. The diagram at right demonstrates these poroperties.

In our system, fuzzy logic input/output is handled by FuzzyDimension objects in the MovementModule that correspond to each degree of freedom the sub has (X, Y, Z, Pitch, Yaw), as shown by the class diagram. The MovementModule reads the values from these dimensions and translates them to actual thruster values. For example, if the Y output is positive, both Y thrusters need to fire forward. But if the Pitch is positive, one of the Y thrusters will need to fire backward to perform the rotation. These values are summed and scaled before being given to the thruster microcontrollers.

AI <ul> <li>Mission Planner - The Robosub will need to be adaptable to a variety of planned mission types, with varying degrees of priority. This system will allow for preflight mission planning. These mission plans will also be saved and be able to be replayed for repeated testing, or similar objectives. <li>Task Controller - This will handle the individual tasks such as start gate, and call specific task modules. These include dive, move and whatever other simple commands we can give. </ul>

Electrical
<li> PCB Redesign The current circuit board system is difficult to maneuver due to the excessive wires. The large number of connections also cause excessive wear on the circuit boards when trying to remove them from the sub. The new system will feature PCBs with edge connectors that will allow for easy and quick removal of the boards and result in more space inside the sub. </li>

Document Archive
[[Media:2014_NavseaRobosub_ClientInterview.pdf|Client Interview]]

[[Media:2014_NavseaRobosub_TeamPicture.png|Team Picture]]

[[Media:2014_Robosub_Meeting_Agenda.pdf|Agenda]]

[[Media:2014_Robosub_Meeting_Minutes.pdf|Meeting Minutes]]

[[Media:2014_SubXero_Fall_Design_Review.pdf|Fall Design Review]]

[[Media:2014 Robosub Design Expo Technical Presentation.pdf|Design Expo Technical Presentation]]

[[Media:2014 Robosub Design Expo Poster.pdf|Design Expo Poster]]