Spring 2016 Pathfinder: Project Summary


IMG_3253

By:

Peiyuan Xu (Project Manager)

Approved by Peiyuan Xu (Project Manager)

Approved by Xiong Lee (System Engineer)

Table of Contents

Executive Summary

Project Objectives

The spring 2016 Pathfinder Rover was inspired by NASA’s MARs Exploration Rover-“Sojourner”. The profile for this semester’s project is to imitate the design of “Sojourner” Rover to prototype a new generation of Pathfinder Rover that implements the Rocker Bogie Suspension System as well as being self-sufficient by using solar panels. The Pathfinder is allowed to have the solar panels charging the battery for up to 8 hours during the day time. Then the customer can spend up to 4 hours at night walking and exploring with the Pathfinder. Ultimately, The customer can use Arxterra control panel on the PC to navigate the Rover by using the cursor to click a point on the map. This generation of Pathfinder Rover is also designed to test and implement SLAM (Simultaneous Localization and Mapping) technology for autonomous vehicles.

Mission Profile:

mission WiFi Stength                                                             Figure 1 – CSULB WiFi Strength map

Since our Pathfinder Rover will be tested at the entire CSULB campus. We need to find out where there is the best Wi-Fi signal  in order to gain the stable video stream from the android phone to the Arxterra. The system engineer Xiong Lee was able to use an android App called Wi-Fi Maximiser to map out the  Wi-Fi signal strength around CSULB campus.  Based on the strength of the Wi-Fi signal, our mission will be narrowed down to the area covered with green on the map. We suggest the customer not to go through the area covered with red because there might be some packet loss and signal lag around the area. We also think this Wi-Fi signal strength map can be useful for other EE 400D project in which case they need to explore the CSULB campus as well.

The changes that made to the Mission Profile and Project Objective can be found here:

Spring 2016 Pathfinder: Mission Profile and Project Objective Update

Design

3D illustration

                                                                      Figure 2 – 3D Model                  

The image above is the 3D illustration in SolidWorks that shows the overall design of the pathfinder.

3D illustratioin2

                                                                Figure 3 – Exploded Model                              

This image above gives the exploded view of the Project design. On the top is the Tilt system with the encasement for Google Tango tablet and Android Phone. Below that are the 3 solar panels with resemble the shape of the Arxterra logo. Then there is a metal box to protect all the electronic components. Following that is our new chassis with Rocker Bogie System.

For more details on the structures of this design, refer to:

Spring 2016 Pathfinder Design and Manufacturing – Rocker Bogie Suspension System Design

Spring 2016 Pathfinder Design and Manufacturing – Tilt System Finalized Design

Project Features:

Rocker Bogie Suspension System

  • Designed for superior vehicle stability on the uneven surface
  • Obstacle-Climbing Capability
  • High-clearance chassis
  • Slow-speed application

62                                                                 Figure 4 – Rocker Bogie System

New Tilt system for Tango tablet and Android Phone

  • Has two servos. One controls Pan system, one controls Tilt system
  • Allow stream video from Android Phone correlates with Point Cloud data in Google Tango tablet
  • Protect the phone and Tango tablet

1615                                                                       Figure 5 – Tilt System

Solar Panels

  • Self-sufficient
  • Use three pieces of solar panels to resemble the Arxterra logo

13421                                                                    Figure 6 – Solar Panels

SLAM  (Project Tango Modules)

Access to the Point Cloud Data (send data out via Tango Bluetooth API)

Use Depth perception and IMU sensors to navigate Pathfinder go where the user wants to go (Developing)

Screenshot_2016-04-07-22-38-12                                                                 Figure 7 – Point Cloud App

System Design

1                                                            Figure 8 – System Block Diagram

The system block diagram above shows how all of the components interface with each other. First, transmission of data from an android phone or the Arxterra control panel via HC-06 Bluetooth module will tell the Arduino Mega what to do. The Arduino Mega will interpret this data and send it out through the motor shield or servo driver to drive the pathfinders movement. The system block diagram also depicts how the charge controller will interface the power supply and the solar panels to the VHN5019 Motor shield that will drive the pathfinder.

For more information about the system design, refer to:

Spring 2016 Pathfinder: System Block Diagram & Interface Matrix

Experimental Results:

Current Drawn By Motors

2                                                         Figure 9 – Current Drawn Test

The purpose of this test is to find the current drawn by the motors on different terrains and in different driving modes (Braking abruptly, Rotating (Under High Stress) and Running forward/backward (Normal Driving) . This test is crucial for us to gain the discharging time of the batteries in order to meet the Level 1 requirement of constantly running for 4 hours.

For Project Level 1 requirements, refer to:

http://arxterra.com/spring-2016-pathfinder-preliminary-project-plan/

Results:

Peak current: 4.8 A (Under highest stress)

-Ex. braking abruptly, rotating, etc

Average current: 1.2 A (Normal driving)

Theoretical discharge time:

20 Ah / 4.8 A = 4.16 hours (high stress)

20 Ah/ 1.5 A = 13.33 hours (normal driving)

Actual Discharge time to 50% : 6.5 hours

This test is conducted for the Wild Thumper chassis

Video Demo

For more information about this current drawn test, refer to:

Spring 2016 Pathfinder: Current Drawn Test

Charging Batteries Using Solar Panels

3                                                         Figure 10 – Solar Panels charging the batteries

The project objective stated that the pathfinder needs to be self-sufficient by using solar panels. This test is to measure the total current the solar panels can supply at direct sunlight. In reality, the charging capability of solar panels will vary depends on the weather condition, therefore, we include some of the other tests for comparison of the worst case scenario.

Results:

-Direct sunlight: 850 – 950 mA

-Shady area: 500 – 750 mA

-Rain or cloudy: 100 – 300  mA

  •  Important note (current supply  by the solar panel  determine the time required  to  charge the battery )
  • After charging these batteries in direct sunlight for 8 hours, the voltage level of the batteries increased from 4.0 V to 6.5V which is from 54% to 87%.
  • This would meet our Level 1 requirement since it takes around 6 hours of normal conditions run time to deplete our batteries from 7.4 V to 3.4 V.

For more information on how we implement solar panels, refer to:

Spring 2016 Pathfinder Solar Panels Implementation

Project Tango Modules

Screenshot_2016-04-07-22-38-12                                                        Figure 11 – Project Tango: Point Cloud

This spring 2016 Pathfinder project used Google’s Project Tango as a platform to test and implement SLAM (Simultaneous Localization and Mapping) technology for autonomous vehicles. Project Tango uses computer vision to give device the ability to know the position in the relative 3D space as well as the distance from the surrounding objects to the device itself.

For more research work of the Project Tango, refer to:

Spring 2016 Pathfinder: Project Tango Preliminary Research

For more details of the project Tango modules our team accomplished or attempted, refer to:

Spring 2016 Pathfinder: Project Tango Bluetooth API

Spring 2016 Pathfinder: Project Tango – Interactive Visualization of data from Tango using Paraview

Spring 2016 Pathfinder: Project Tango Module#5 – Android to Arduino Via Bluetooth

Subsystem Design

Interface Definition

2 3 4                                                           Figure 12 – Interface Matrix

The above interface matrix shows in depth on which pins are used on the Arduino Mega.

For further details on interface matrix, refer to:

Spring 2016 Pathfinder: System Block Diagram & Interface Matrix

One improvement we had after PDR debrief was to highlight the rows and columns with different colors in the interface matrix. Each color represents the corresponding pins used by the component. That makes it a lot easier for us to track the subsystem level pinouts. Also this makes it easy for audience to see during the presentation.

Custom PCB Design

Fritzing Diagram

1                                                           Figure 13 – Fritzing Diagram

Breadboard

2                                                            Figure 14 – Breadboard

PCB Schematic

1                                                              Figure 15 – PCB System Schematic

2                                                                Figure 16 – Buck Regulator

PCB Layout

9                                                             Figure 17 – PCB Layout

The pathfinder project needs a custom PCB to integrate all the electronic components, which included: VNH5019 motor shield, PCA9685 Servo PWM Controller, two servos, six DC motors, HC-06 Bluetooth Module, two HC-SR04 ultrasonic sensors, two LED Headlights. The custom PCB also take advantage of the leftover pins on the Arduino Mega. A buck regulator is required to step down the voltage from 12 V to 5.5 V in order to protect the servo driver. The advantage of using buck regulator over the voltage regulator is to keep a constant current.

For further details about the PCB system schematic design and layout, refer to:

Spring 2016 Pathfinder: PCB System Schematic

Spring 2016 Pathfinder: Design and Manufacturing – PCB Layout

Hardware Design

Overall Design

Picture1                                                           Figure 18 – Pathfinder overall Design

3D illustration                                                            Figure 19 – 3D Illustration

3D illustratioin2                                                            Figure 20 – Exploded View

**Rocker Bogie System**

6                                                                 Figure 21 – Rocker Bogie System

f15                                                              Figure 22 – Exploded View

**Tilt System**

16                                                                       Figure 23 – Tilt System

15                                                                    Figure 24 – Exploded View

These above pictures demonstrate the hardware design from the overall 3D models to breakdowns parts of the pathfinder rover design.

The goal of Spring 2016’s Pathfinder is to hold a Google Tango tablet, phone, solar panels in the shape of the Arxterra logo, a tilt system, and an electronic box. To best traverse obstacles, a rocker bogie suspension system design was chosen, with a top surface area of 12in x 18in. Modeled after ServoCity’s runt rover, the chassis was scaled to meet the surface area required for the above mentioned parts. The tilt system was designed to hold the tablet, phone and tilt servo. Lastly, all parts were modeled on the chassis.

For further details of the hardware design, refer to:

Spring 2016 Pathfinder Design and Manufacturing – Tilt System Design

Spring 2016 Pathfinder Design and Manufacturing – Tilt System Finalized Design

Spring 2016 Pathfinder Design and Manufacturing – Rocker Bogie Suspension System Design

Spring 2016 Pathfinder: Design and Manufacturing – Chassis Selection Through the Iterative Design Loop

Software Design

Software System Block Diagram

1                                                        Figure 25 – Software System Block Diagram

The software design follows the system block diagram and focus on the subsystem level software modules development.

For further details on how each software modules works, refer to:

Spring 2016 Pathfinder: Software Design

For reference of Arduino code controlling motors and servos through coolterm, refer to:

Spring 2016 Pathfinder: Software Design

For reference of controlling motors through Arxterra, refer to

Spring 2016 Pathfinder: Bluetooth Communication with the Arxterra App

For reference of controlling servos through Arxterra, refer to

Spring 2016 Pathfinder: Arxterra Servo Control for Pan and Tilt

Verification and Validation Test Plans

Verification and Test Plans are required to prove that the project can meet the L1/L2 requirements.

Since our team received new requirements of building a new pathfinder in a short period of time, many of the verification tests had not yet been done due to the heavy work of manufacturing. The project final demo then was been used for some of the verification and validation tests.

For more details of the verification matrix and Validation Test Plans, refer to the “project resource

Project Update

Work Breakdown Structure

WBS                                                              Figure 26 – Work Breakdown Structure

This work breakdown structure demonstrates all the work needed to be done for this project Pathfinder Rover. There are four branches that indicates different job duties and division works assigned to the system and subsystem engineers.

Resource Report

Mass Report & Power report

The mass report and power report are both missing because our team did not have enough time to update the reports for the new pathfinder. 

For previous mass report and power report, refer to “CDR presentaion” in Project resource file

Cost Report

cost report

 

Project Schedule and Progress

1 2 3 4 5

Above is the final schedule for this spring 2016 Pathfinder Rover Project. The Project Overall duration is 65 school days. This schedule was made and managed by the project manager to keep on track of the project overall progress. The tasks highlighted in green are the major tasks our team accomplished during this semester, while those tasks highlighted in yellow are the tasks our team had difficulties and could not accomplish them on time. In this semester, our team was able to fully tested, debugged and implemented the code for motors control and servos control for pan and tilt system through both coolterm and Arxterra. Another progress we made was to build a new generation of pathfinder by implementing Rocker Bogie Suspension System and solar panels self-charging capability. However, the team had troubles of implementing Project tango modules to the pathfinder.

BurnDown

BD

Completion

completion

The Project Overall completion is 83%.

 

Concluding Thoughts:

Lessons learned the hard way

  1. The major problem our Pathfinder Team had was Project Tango. It is fairly new and has many limitations on sensor abilities as well. After we done the research of project tango, we realized that it requires extensive knowledge of Java programming and Android App development to accomplish the mission. Unfortunately none of the team member had that experience.
  2. The second issue we had was that the project requirements kept changing during the beginning of the semester. The mission profile went from daytime at desert terrain to night time at CSULB campus. The is due to the fact that the tango’s IR sensors for depth perception is generally restricted to indoor environments (sun and incandescent IR light can drown out structured light sensing).
  3. The third issue we had was that the manufacturing process for the aluminum sheets took too long from the rough cutting to mill finish. The aluminum was cut by hand by group members that weren’t supposed to be involved. As the project manager, I decided to let the the whole team contribute on assembling the parts during the final week to accomplish the mission. But the downside was that we did not have enough time to redo some of the verification tests for new chassis and motors.
  4. It is hard to manage the conflicts among cost, schedule and performance. Our pathfinder team was having trouble on getting all the parts we wanted. We were approved to get an extra budget of $300, yet, we still did not have enough money to get better wheels. The wheels problem lowered our project performance on obstacle climbing test.

Future Plans for Pathfinder

  1. Keep working on Project Tango. It is recommended to have 1 or 2 team members who has good knowledge of Android App development or some students from computer science major who can commit to help this project.
  2. The experimental results in this blog post need to be updated.
  3. The Mass and Power report need to be updated.
  4. Change the wheels on the pathfinder.
  5. Improve the encasement for tango (sealed, waterproof). This pathfinder can be taken to the wild area.
  6. Think of a way to rearrange the weight on top of the pathfinder. One issue we had was that the weight distribution was more on the backside, therefore it gives unstableness when climbing the obstacles.

Future Plans for project manager

  1. I think the project manager needs to be trained on their project management skills. Learning how to manage the cost, schedule and performance. A good way is to have a guest speaker give a short lecture on that.
  2. Project manager should post a project update blog post every two weeks. It can help them to keep on track of the project progress and schedules. It is also Easy for team member to follow.

Project Resource Files

Project Video

PDR

CDR

Project Schedule

Verification and Validation Documents

Solidworks File

Fritzing File

EagleCAD File

Arduino Code

PCB Library

Bill of Material(1)

Bill of Material(2)

 

 

 

 

 

 

 

 

 

 

 

 

 

         

 

 

 

Spring 2016 A-TeChToP Central Sensor Suite Sensor Post #2

By: Stephen Cortez (Electronics Engineer)

Introduction

This blog post will cover the remaining two sensors that were made by the group, which includes the ECG and blood oximeter. Research concluded that commercial devices for these categories were either too large or too expensive to implement into the project, requiring custom sensors.

Read more

Spring 2016 AdBot Materials Trade-off Study

By Muhammad Maqbool (Manufacturing and Design)

There are many different types of material we used to finish our final design. The body and the arms of our AdBot were made of aluminum of 0.125” thickness that we obtained from McMaster. The reason for using aluminum instead of plastic was the size of our body and we wanted a strong and reliable material—something that would not fall apart. It was impossible to 3D print the body of our AdBot. Our president Ryland had access to welding tools and drill press; he helped us put the body together and did a pretty good job with it and we ended up saving a lot of money. Our major concern after the body was put together was the weight. The body is strong but it is heavy.

For our 3D printing material, we went with ABS plastic because:

  • ABS is stronger than PLA
  • Cost less
    • Easy to use
  • Heat-resistant
  • Water-resistant

Source: http://www.makergeeks.com

UFO Quadcopter Project Summary (Spring 2016)

Luis Valdivia (Project Manager)
Juan Mendez (Manufacturing Engineer)
Anthony Becerril  (Systems Engineer)
Kevin Nguyen (Electronics Engineer)

 

Table of Contents:

  • Project Overview
    • Executive Summary
    • System Design
    • Experimental Results
    • Subsystem Design
      • Interface Definitions
      • Custom PCB Design
      • Hardware Design
    • Software Design
    • Verification and Validation Test Plans
    • Project Update
    • Project Demonstrations
  • Project Blog Posts
  • Concluding Thoughts
  • Project Resources

 

Project Overview:
 These series of summaries break down all the project efforts done throughout this semester of work. This overview follows our Critical Design Review with the Debrief details here.

Executive Summary

  • Project Objectives
    • The program objective is to ultimately achieve stable flight with our UFO Quadcopter while in operation. A 5th fan will be used as attempt to counter unwanted yaw rotation thus maintaining stability without surpassing weight limitations. The UFO Quadcopter will feature connectivity to an RC Controller and also a smartphone device via Bluetooth.
  • Mission Profile
    • Following safety requirements by CSULB and FAA, UFO Ab-ducted will fly vehicle in open field away from CSULB for a minimum of 7 seconds. The aircraft must display FAA registration code, FA3C74WXLT , while in flight. The user must also follow these safety requirements set by the FAA:
      • I will fly below 400 feet
      • I will fly within visual line of sight
      • I will be aware of FAA airspace requirements: www.faa.gov/go/uastfr
      • I will not fly directly over people
      • I will not fly over stadiums and sports events
      • I will not fly near emergency response efforts such as fires
      • I will not fly near aircraft, especially near airports
      • I will not fly under the influence
  • The Design
    • Flap assembly

finalflap123

Figure 1.1 CAD Model of UFO quadcopter and thrust vectoring flaps

    • Thrust Vector Control assembly

finalcones123

Figure 1.2 CAD Model of UFO quadcopter and thrust vectoring attachments

    • Additional Fan assembly

finaladditionalfans123

Figure 1.3  CAD Model of UFO quadcopter and additional side fans

System Design

  • System Block Diagram
    • Our system block diagram’s main component is our flight controller, the MultiWii 328P. Through use of our Lithium Polymer battery, we are able to power all our electronics as outlined below:

finalinterface123

Figure 1.4 System block diagram of UFO quadcopter Spring 2016

Experimental Results

One experiment that was done was a torque experiment. This was done in order to find the torque that the yaw problem was producing and with the results we would be able to use to counter that torque. Research was conducted to create a proper test. A torque apparatus was then built where the test was conducted. The procedure for the test and results can be found in UFO Torque Test Spring 2016.

To figure out the necessary thrust from the 5th and 6th fan, we used the highest torque test reading .0515Nm along with the 6 inch fan rod and the torque formula using in physics class. Using the equation m=(Torque)/(g*radius) , we conclude m=(.0515Nm)/(9.8 *6 inches)  –> m=.03448Kg is the necessary thrust counter the yaw rotation caused from the 4 EDFs. Since we used two side fans, we can set the output thrust for each fan to 17.24 grams. Using the buck converter, we turned down the voltage to produce that thrust per fan (2 fans). From the results we need to keep the output voltage from the buck to be roughly 1.91 volts to produce around 17 grams. Below we demonstrate the measure thrust values of the 5th and 6th fans with respect to different voltages.

Voltage Thrust
2.97V 33 g
1.92V 18 g
1.9V 14 g
1.56V 8 g

Table 1.1 Demonstrates the relation between Voltage and Thrust for the additional side fans.

The current drain experiment consisted of a shunt resistor and a multimeter to measure the current draw. Since our motors draw large amounts of current, the multimeter was not able to take any proper measurements. To bypass this, a shunt resistor was used to measure voltage rather than current. After finding the voltage across the shunt, simple calculations can be done to acquire the current measurements. Details on this test can be found in Current Draw Spring 2016

 

Testing the functionality of Bluetooth vs. RC, an experiment was done by controlling the quad with each controller and incrementing the distance until connection was lost. The RC controller proved to be much more reliable and can communicate at well over 30 feet. The bluetooth communication often had trouble disarming the quad so it can’t stop the quad once things get out of hand. Information on Bluetooth Communication can be found the Bluetooth Communication: Smart Phone Applications Spring 2016 blogpost.

 

Details on RC Communication with the UFO can be found on our RC Control Spring 2016  blogpost.

 

Subsystem Design                                                                

  • Interface Definition
    • Our interface definition is as follows:

finalinterfacechart123

Figure 1.5 Interface definition demonstrating ports used in the project

    • Following our interface definition is our wiring tree where all hardware is laid out and details on connections. It is as follows:

finalcabletree123

Figure 1.6 Cable Tree of overall electronics for UFO Spring 2016

  • Custom PCB Design

Fritzing:
Since PCB fabrication is a time-and-costly procedure, a prototype must be developed to ensure that the PCB would work the first time. The first step to the prototype is the Fritzing Diagram. The Fritzing Diagram maps out all the connections of the components on a breadboard.

Physical Board:
Continuing off the Fritzing Diagram, the physical prototype is implemented on a breadboard and tested using a power supply. The power supply was set to 14.8V to simulate the battery and the output was measured to be 4.94V.

Schematic:
After the prototype was confirmed to be working, the next step is to design the schematic for the PCB. The components had to be carefully chosen to include SMD packages. The components had to be changed multiple times since those packages were not available on DigiKey. Once all the required components were on the schematic and all the connections were wired properly, the Eagle files were given to the Manufacturing Engineer to do the layout.

Layout:
After designing a PCB schematic for the project, a layout had to be done in order to have it fabricated. The board was designed to be mounted on the UFO. Components were placed properly and trace widths were modified. Once the board was laid out, it was sent to be fabricated and then it was built. Further details can be found in UFO PCB Layout Spring 2016.   

  • Hardware Design

Several designs were taken into consideration in order to fix the yaw problem. The original design was to implement thrust vector control. This was done by adding attachments to the electric ducted fans and which would be able to control the direction of the thrust produced using servos. Unfortunately due to some unexpected issues, the idea of thrust vector control could not be implemented. Further details such as 3D models, dimensions for the original design can be viewed in Designs of 3D Printed Attachments Spring 2016.

Since this idea did not work, an alternative solution was thought of. The next approach was to add additional fans to counter the yaw problem. This did not give us issues as the previous design did. Further details about this alternate design can be viewed in Spring 2016 5th Fan Bracket Design.

Minor modifications were done to the UFO in order to increase the space for the battery while reducing the weight. Details can be viewed in Spring 2016 Re-design of Structure Rods.  

Software Design 

  • First provide general block diagram of the software system, followed by arduino software modules responsible for communicating with the android app, specifically command and telemetry decoding and encoding.
  • Subsystem software unique to product presented.
  • Next talk about command and telemetry, (few critical subsystem software modules (1 or 2).
    • For each module present, pseudo-code and/or flowcharts to provide an overview of the software
    • Also provide sample code

Verification & Validation Test Plan Matrices

  • Verification Matrix
Requirement Number(s) Shall Statement Verification Method Summary Verification Method Results Pass/Fail
1.1, 2.1.1, 2.1.2, 2.1.3 UFO Ab-ducted quadcopter shall maintain stable flight for at least 7 seconds. Quadcopter will be timed via digital stopwatch from start of flight to end of flight. Flight will also be recorded to verify flight duration. Only flights that are stable with minimal yaw rotation will be accepted. Time must be within the tolerance of +/- 0.2 seconds (time between 6.8-7.2 seconds). Test TBD TBD
1.2 Project shall be completed before end of Spring 2016 semester which ends on Friday, May 13th, 2016. Project efforts shall be completed by Friday, May 13th, 2016 therefore no more work to be done thereafter Analysis Project was completed at the conclusion of Friday, May 13th, 2016. All documents and efforts were completed at the end of this day Pass
1.3, 2.3.1 UFO Ab-ducted quadcopter shall comply by rules and regulations of the Federal Aviation Administration (FAA), Unmanned Aircraft Systems (UAS), and California State University, Long Beach’s College of Engineering’s flying policies. To fulfill compliance of FAA, UAS and CSULB COE, the quad copter shall be registered as a flying object and shall not break any rules and regulations Inspection quadcopter is officially registered. It was registered under the identification number FA3C74WXLT. It also abides by the rules and regulations such as: Pass
1.4 Budget for this project shall remain below provided budget of 167 U.S. Dollars Shall have approved budget with evidence via reciepts with the total cost lower than the provided budget Analysis Budget was submitted and approved at a total of $156.34 with supporting documents and information to complete the reimbursement process Pass
1.5, 2.5.1 UFO Ab-ducted quacopter shall feature a light show of at least 3 unique patterns. The lightshow shall be displayed and while on display is to give at least 3 unique patterns Inspection TBD TBD
1.6, 2.6.1, 2.6.2 The UFO Ab-ducted quadcopter shall be capable of control with wireless communication for a range of at least 10 feet. The wireless communication will be setup and tested with increasing distances away from the quadcopter being recorded Test TBD TBD
1.7, 2.7.1 The UFO Ab-ducted quadcopter’s Printed Circuit Board (PCB) shall power at least one servo at 5 five volts via a buck converter. Each pin and component on the PCB will be tested to give the 5 volts from the battery/voltage source. Test TBD TBD

Table 1.2

    Verification Matrix with requirement numbers
  • Validation Matrix
Requirement Number Objective Validation Method Summary Validation Method Pass/Fail
1.1, 2.1.1, 2.1.2, 2.1.3 UFO Ab-ducted quadcopter shall maintain stable flight. Customer will evaluate stable flight of quadcopter. Demonstation
1.3, 2.3.1 UFO Ab-ducted quadcopter shall comply by rules and regulations of the Federal Aviation Administration (FAA), Unmanned Aircraft Systems (UAS), and California State University, Long Beach’s College of Engineering’s flying policies. Customer will observe registration number and paperwork. Inspection
1.4 Budget for this project shall remain below provided budget of 167 U.S. Dollars Customer will observe and confirm budget paperwork. Inspection
1.5, 2.5.1 UFO Ab-ducted quacopter shall feature a light show of at least 3 unique patterns. Customer will observe lightshow. Inspection
1.6, 2.6.1, 2.6.2 The UFO Ab-ducted quadcopter shall be capable of wireless communication. Customer will observe wireless communication via RC and bluetooth. Demonstation
1.7 The UFO Ab-ducted quadcopter’s PCB shall power at least one servo via buck converter. Customer will observe servo powered via PCB servo driver. Demonstation

Table 1.3 Validation Matrix with requirements, objectives, and summaries

Project Update

  • Work Breakdown Structure

finalwbs123

Figure 1.7 Work Breakdown Structure for the engineers in each division

  • Resource Reports

final mass budget5

Figure 1.8 Resource report referring to Mass report for UFO Spring 2016

finalpowerbudget123

Figure 1.9 Resource report referring to Power report for UFO Spring 2016

costreportfinal5

Figure 1.10 Resource report referring to Cost report for UFO Spring 2016

  • Schedule
    • Project Libre:

The project schedule was documented using, Project Libre. Every task was listed under each engineering division to display the engineer responsible for each task.

finallibre1123

finallibre2123

finallibre3123

  • Burndown

burndownfinal5

Project Demonstration

Project Blog Posts

Lipo Battery Safety Spring 2016
This post is a step by step guide on how to use the LiPo charger. Failure to handle the LiPo in a safe manner may result in damaged batteries….or worse self injury to user.

Lipo charger

PCB Design: Schematic – Spring 2016
This blog post includes full detailed explanations on the components used within our PCB. Images of the components on Eagle Schematic are posted above each paragraph to give the reader a better understanding. Full schematic image is provided to show the connections between each component.

thumbnailforpcb

Current Draw Spring 2016
High powered motors are difficult to measure with a multimeter since the current draw exceeds the specifications of the meter. This post explains how to measure the current draw by measuring the voltage and resistance instead.

20160424_210322123

RC Control Spring 2016
RC control is a must for quadcopters since bluetooth is short-ranged and unreliable. This post will guide the user through setting up the transmitter and receiver as well as setting the proper configurations on the MultiWii.

rc controller123

Prototype: Fritzing and Breadboarding – Spring 2016
To ensure that the PCB works the first time, a prototype is needed to test the functionality of the circuit. This blogpost overviews the process of creating the prototype circuit.

Fritzingfinalized123

Spring 2016 Trade off study: 5 Blade EDF vs 10 Blade EDF
This blogpost compares the different thrust outputs from 5 Blade EDFs and 10 Blade EDFs. We demonstrate different throttle positions on our RC controller which correspond to different thrust from. We will finally see which fan is the strongest!  

BO3GFEVO

UFO Mass-Thrust Trade Off Studies Spring 2016.
Trade off studies were performed in order to determine how much weight the UFO can have before it got too heavy to lift off. An equation was found which allowed us to calculate the max weight. In order to confirm this equation with the UFO weight, servos, 3D printed attachments were added on. 

20160419_201321

Bluetooth Communication: Smart Phone Applications
Going over communication and controls, this post summarizes the smart phone applications used to receive data from the quadcopter flight controller sensors as well as use other applications to control the quadcopter rather than RC control.

phone

Bluetooth Module Update Spring 2016
This details the bluetooth modules used previously and the new one implemented moving forward in series with the MultiWii flight controller and its GUI.

bluetooth123

Verification and Validation Matrices Spring 2016 UFO
As detailed on the verification matrix, the following requirements have their own pass/fail results detailed:

1.1verif5
1.1 – Stable Flight
1.2 – Project Completion
1.3 – FAA, UAS, CSULB COE Compliance
1.4 – Project Budget
1.5 – Lightshow
1.6 – Wireless Communication
1.7 – PCB

 

UFO Spring 2016 – EDF Area Coverage With Flap Length Calculations
We performed some calculations to determine the size of the allowable flap length on our EDFs. Using Microsoft Excel, we were able to determine an array of sizes with their corresponding output thrust.

mvw123

Using Multiple servos without servo driver UFO spring 2016
As a way of rapid prototyping our system without a servo driver, we wrote a blogpost to show an alternative to controlling servos. This method involves a simple wiring diagram with example code for various methods.

IMG_20160327_211605829

UFO Light Show Setup
The Neopixel ring is the aesthetic cornerstone of our wondrous quadcopter. This blogpost shows how to setup the hardware and software for the lightshow.

Screen Shot 2016-04-20 at 21.59.20

Project Preliminary Design Spring 2016 Millennium Falcon
This is our continuing on our research blog post which together is known as our Preliminary Design Review. It outline the beginning of all our work and sets up our fundamental understanding of project moving forward.

MF Shell

Spring 2016 Millennium Falcon Research
This post is an outline of our research of past quadcopter projects and possible solutions for approaching these solution.

 

Millennium Falcon5

Spring 2016 Millennium Falcon Preliminary Design Document
A Preliminary Design was put together for presentation by all group members. Here Program objective, Level 1 and 2 Requirements were defined along with Product Breakdown structures and project designs. Further details about the sections mentioned can be found in Spring 2016 Millennium Falcon Preliminary Design Document.

possibleMF55

Concluding Thoughts:

Improvements for next semester:

  1. Next semesters should focus on flying the aircraft for more than 7 seconds.
    1. Consider a battery with a higher current capacity.
    2. Different fans. The ones we are using consume so much power at a small output thrust. Since we were extremely close to the weight limit, it seemed like the only option was to replace fans. Also, getting new fans with the option of 2 clockwise and 2 counter clockwise, will automatically eliminate the thrust and all excess hardware used to counter it. The multiwii knows how to talk to 2 clock wise and 2 counter clockwise fans, not all 4 clockwise.
  2. Include an emergency kill switch for the quadcopter in case disarming function does not work. When we tried using the Bluetooth app, BTCon2Drone, the disarm function would not register. To ensure safety to the user(s), include some sort of wireless command to disconnect the system from the battery.

Lessons learned:

  1. Don’t use the battery without the LiPo alarm. It is dangerous to overcharge a battery as well as over discharging it, ESPECIALLY A LIPO BATTERY.
    1. When we first started this project, no one was familiar with LiPo batteries. During one of our tests we over discharged a battery because we didn’t use the LiPo alarm. Luckily we were able to disconnect the battery the second we noticed a drop in performance. Fortunately no one was hurt, but our battery got a bit puffy from its original form.
  2. Always keep spare equipment around! Throughout the semester EDFs stopped working on us, ESCs burnt up and batteries failed. We were lucky enough to have a back up or order a replace before major deadlines. No one expects their equipment to fail, but anomalies are unpredictable to all electronic devices.

 

Things we could have done different:

  1. Implement different circuit to for servo driver. Ideally we chose a Buck converter to step down the 14.8V to 5V. Although, we did not realize the servos would hog enough current to prevent other servos from actuating. After testing our PCB we were able to control 1 servo while any additional servos would stall or jitter. We would advise further research of even current distribution between all servos.
  2. Upgrade the existing quadcopter frame. We didn’t realize this suggestion until after we noticed some of the carbon rods were caved in from over tightening of set screws. Since this frame has been passed down for a few semesters, it would be a good idea to check its condition and consider upgrading to a new frame.

 

Project Resources:

 

To best complete the transitioning of this project for future students, a resources folder was compiled into a Google Drive folder. The access to this folder is here: https://drive.google.com/folderview?id=0B5GCeIa4TgwtNjM0VXBoNTBTWDg&usp=sharing

 

It is best to read the “UFO_SP16_AResourceSummary” document and following through with all the additional, provided documents in the resources folder and get up to speed on the project’s progress.

Verification: Requirement 1.5 – Lightshow

Posted by: Luis Valdivia (Project Manager)
Written by: Anthony Becerril (Mission, Systems, and Test Engineer)

 

Following the Verification and Validation Matrices, this post follows the level 1 requirement 1.5 – designing and implementing a lightshow to display at least 3 unique patterns. This also satisfies its corresponding level 2 requirements if applicable.

 

To meet the requirement, the use of the NeoPixel LED Ring had to be implemented into the quadcopter and designed to properly work through the Printed Circuit Board (PCB) and display at least 3 unique patterns. Following the previous post on the lightshow,  The lightshow properly works and has been emulated successfully. Next, through use of our PCB, the LED ring is to be powered and programmed to display the lightshow. The PCB was unable to produce the light show emulated before due to the problems of going through I2C. Supporting documentation is provided below and we have completed and failed this requirement.

 

Additional Resources:

Previous Blog Post: Verification and Validation Matrices (Spring 2016)

Previous Blog Post: UFO Light Show Setup (Spring 2016)

Spring 2016 AdBot Final Project Documentation

AdBot Final Robot 2

AdBot is a robot that can drives around campus in place of a person passing out flyers.

Dang Le (Project Manager, Electronics and Control)
Don Tran (Mission, Systems, and Test)
Muhammad Siddiqui (Manufacturing and Design)

Table of Contents

Executive Summary

Program Objective
The project objective is to build a rover that will simulate a flyer distributor advertising CSULB’s Eta Kappa Nu social, guest speaker, and technical events on campus. Using a single power source the rover will launch from, and return to, an HKN advertisement booth and run in a general high foot-traffic area on campus which consists of flat areas, sloping areas, and stair ways, as shown in the course map. The rover will be controlled remotely using a computer with internet connection. Negotiations of budget resulted in the rover to cost less than or equal to $250. There is to be expected 0 to 16 mph wind during the course run on May 13th (Reported in Weather Report) [1].

Mission Profile
The perimeter of the grass is 275 ft / 84 m. The north and south sides are leveled. The east side has 9 steps. The west end is a ramp.

Figure 1 Test Course

Figure 1 Test Course

Level 1 Customer Requirements
1.1 AdBot shall travel at 4.55 ft/s at the pace of an individual delivering flyers.
1.2 AdBot shall follow CSULB Regulations for Activities and Advertising.
1.3 AdBot shall launch from the HKN booth and return.
1.4 AdBot shall operating with one power source.
1.5 AdBot shall be controlled remotely through Arxterra Control Panel.
1.6 AdBot shall go up nine steps of a staircase.
1.7 The budget shall be $250
1.8 AdBot shall protect its hardware from weather conditions on the day of the final.

Level 2 Requirements
1.1 AdBot shall turn at 84 rpm.
1.2 AdBot’s sign holder shall be within 3 ft.
1.3 The course shall be completed in 8 min.
1.4 AdBot’s current draw shall require 1000 mAh.
1.5 The Arxterra app can connect via bluetooth within 3 ft.
1.6 AdBot shall provide 25 kg-cm torque to straighten out.
1.6 The sign shall be 5.3 in. from the back of the chassis.
1.6 AdBot shall not bend at the motors or servos due to weight.

Design Solutions
Tracks instead of wheels make AdBot look military. They can drive over obstacles on the ground without getting stuck.

Prototyping

For the PDR, the chassis was built out of wood and 3D printed wheels. The 3D printed tracks had more tension in hopes that they do not fall off. The wheels had longer treads. AdBot was powered by battery. It moved with differential drive control and could drive forward, backwards, and turn. The tracks shifted on the wheels. The servos moved using an unsigned byte, slider from 0-90, custom command in Arxterra.

For the CDR, the chassis was built out of 6061 aluminum. The wheels were reprinted and prevent the tracks from undoing. The left side tracks moved together; the same goes for the right side.The motors were switched to higher torque ones and changed from 6 V to 12 V. Without a battery yet, AdBot was powered with a AC to DC wall adapter and wire. The geared motor to lift the arms was not finished.

Prototype

Motor Driver Trade-Off Study
The Arduino pins supply less than 0.040 A. The solution to drive motors is to find motor drivers. The trade-off study is in this link here.

Motor Trade-Off Study and Torque Test
DC motors are commercially available and offer choices. The motors have gears that changes thousands of rpm into hundreds. The motors of interest offer more torque force with decreasing speeds. Several motors are purchased and tested as stores do not claim the torque information or stall current. This link link has information.

Experiments
AdBot was taken to lab equipment to measure the motor specifications. Free multimeters have a 0.020 A limit. The torque test apparatus was used on motors. 1K, 5K, 10K, and 20K potentiometers could not stall the motors. The motor shafts were held onto a bearing by a screw and the bearing was attached to a wheel. This was done in order to provide grip to cause stalling. More information is here .

Subsystem Design

PCB Design
The custom PCB is a shield that fits on top of the Arduino Uno. It contains motor drivers to supply current to five motors. It features an HC-06 bluetooth module. The layout and schematic are in these links here and here. We made a through-hole PCB, but had to remake it into surface mounted.

AdBot Final PCB

AdBot Schematic

Arduino Software Code Design
The firmware folder has many files containing multiple functions. The commandDecoder receives information from the Arxterra app in the form of a command packet and authenticates it. It will then pass the data packet to commandHandler to distinguish out if this is a move operation or camera-related operation and whatnot. The Arduino code then passes the packet to a function that will work on it. move_TB6612FNG() receives a packet for driving. The code is in this link here.

Software Block Diagram

Software Block Diagram

Interface Matrix Definitions and System Block Diagram
A system block diagram and interface matrix are available so that this project can be replicated. They show the components that are used and wire connections. AdBot’s interface matrix begins displaying all the Arduino Uno’s pins and names. Components are placed in columns. When an Arduino pin is not vacant anymore, the row turns white to indicate that the next component cannot place a jumper lead in the white box. The table and diagrams are in linked here.

Interface Matrix Definition

Interface Matrix Definition

Hardware Design

There are many different types of material we used to finish our final design. We wanted to use strong and reliable materials. Material trade-off study is described in this page here.

Our project manager worked on the schematic and the manufacturing engineer put together the layout. One of the problems our manufacturing engineer faced while doing the layout was the positioning of the pins that will be connected directly to the Arduino Uno. Information about the custom PCB manufacturing is in this link.

Start out with understanding the basic design of AdBot. It consists of a total of eight big wheels, eight tension wheels, four tracks, two gears, one wooden shaft, one wooden pole, one pole holder, and one flat top. The design for the wheels and tracks are from previous semester’s RoSco. I modified them so that they work for AdBot requirements. Details about designing in SolidWorks is here.

Verification and Validation

Verification Test Plans
AdBot’s performance depends on the test plan. These plans show the requirements were considered and are kept when constructing AdBot. The table is linked here.

Verification Table

Validation Test Plans
The customer looks at qualitative features of the product built. Validation tests are done on the day of the final demonstration. The table is linked here.

Validation Table

Project Status

Mass Budget
Knowing individual masses lets the manufacturers know what components or materials to take out or replace. The allocated mass is based on the overall masses to stall the drive motors.

Mass Report

Power Budget
Power Report

Cost Budget

The construction of AdBot rover received a $250 budget. After the first few weeks, $100 was spent on breadboard parts and the chassis. The team has to keep track of our budget during the time building the project. Luckily we saved money and time on shipping due to our team purchasing Amazon prime. The project ended up with approximate $208 of spending—not including the PCB fabrication and SMD components. The cost of the end product is shown.

Cost Report

Project Schedule and Work Breakdown Structure

Project Libre was used to schedule the semester. The WBS illustrates the members’ duties in the schedule and pace to complete those. The depictions are shown

Schedule_1

Schedule_2

Final_BurnDown

The burndown line will not reach zero in software.

Schedule_3

 

Project Demonstration

Concluding Thoughts

AdBot is designed after a tank, and it is built from the ground up on a $250 budget. We ordered several parts from China to save several dollars. This mistake delayed our project for the CDR presentation. We spent a lot of our money during the design phase too on tools and parts to learn to use. With four weeks left and no electronics engineer to make a new schematic, the systems engineer, manufacturing engineer, and I worked extra overtime. The systems engineer had a difficult time writing and troubleshooting his C++ functions that receives commands from the Arxterra application. I was busy a lot in the project, because having one person working on manufacturing is not enough. Construction requires multiple heads to check, cut, drill, and build correctly. Everyone worked on software and tasks almost everyday for months.

The front motors at the end of the arms on AdBot are heavy. It places enough tension on the shaft to shake the servo around, which is screwed onto brackets. In this situation, the president helped us mount the servo securely. To make AdBot better, we should move the motors inside the chassis to drive the four front wheels. The tracks are too long to print on certain machines. The printed tracks took a long time to work on, but after printing, they do not come out as expected. On the final, we used metal tracks.

 

Resource Files

The system and software block diagrams are created using the full version of Shapes.

AdBot Video

CDR

PDR

Project Libre Schedule

Verification & Validation Table

SolidWorks Model Files

EagleCAD Schematic

RoSco Arduino Firmware

AdBot Arduino Firmware

AdBot Interface Matrix Definition Excel Sheet

Software Block Diagram

System Block Diagram

AdBot Bill of Materials

Spring 2016 AdBot Custom PCB Schematic

By Dang Le (Project Manager)

The PCB schematic for AdBot, made by the project manager, in figure 1 shows pin allocations with the integrated circuit components and the Arduino Uno.

AdBot Schematic

Schematic page 2

Schematic page 2

Figure 2. First L298P motor driver.

Figure 2. L298P motor driver.

The first L298P half bridge is the surface mount PowerSO20 component, which is not the Multiwatt15 breadboarding type so the pins read differently. The sense pins are grounded. They are not connected to 0.5 ohm 2 watt resistors for measuring the voltage and current draw. The device is manufactured with two no connection terminals. Vs requires inputing the power source, which is a 12 V battery. Vss is for inputing 5 V to keep power for logic.

Figure 2. L298P number 2.

Figure 2. L298P number 2.

Figure 3. L298P number 3.

Figure 3. L298P number 3.

 

 

 

 

 

 

 

Figure 4. Arduino Uno pins 8 and higher.

Figure 4. Arduino Uno pins 8 and higher.

The above image shows the header connection to the Arduino and the roles some pins are designed to have. Each half bridge has runs two motors, so they have a total of four input and two enable pins to connect to the arduino. JHIGH refers to pin number 8 up to SCL.

Figure 5. Arduino Pins 1 to 7.

Figure 5. Arduino Pins 1 to 7.

The above image shows the the remaining pins. JLOW represents Arduino pin number 1 to 7. The voltage divider connections to the bluetooth module. Analog pins are used to write digital highs and lows to the motor driver just as digital pins are capable of doing.

The project manager worked on soldering and troubleshooting the PCB board. He measured and tested the board for problems.

Spring 2016 AdBot Custom PCB Manufacturing

By Muhammad Maqbool (Manufacturing and Design)
Dang Le (Project Manager)

PCB layout was one of the hardest tasks to complete. We were left with no schematic. Our project manager worked on the schematic and the manufacturing engineer put together the layout. One of the problems our manufacturing engineer faced while doing the layout was the positioning of the pins that will be connected directly to the Arduino Uno. The dimensions for the pin placement were found online while keeping in mind the distance between Jlow and Analog should be 1.9”. The motors are placed on the right edge of the board so it is easy to connect or disconnect wires. All the capacitors are placed on the bottom right of the board so it is easy to put the components when the PCB arrives. We were not sure about the placement of the half bridges so the manufacturing engineer double checked it with the president and we ended up placing it between the pins that will be connected to the Arduino. They are kept close to the power source. For routing first I made a power bus of 0.18” and dragged it all the way down and then manually routed all the components that will be getting direct power from it. All the remaining wires are 0.016” thick. Source

Figure 1. PCB layout

Figure 1. PCB layout