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)

Verification: Requirement 1.1 – Stable Flight

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.1 – Stable Flight. This also satisfies its corresponding level 2 requirements if applicable.

 

To meet the requirement our quadcopter was to do the following: maintain stable flight for at least seven seconds with a tolerance of 0.2 seconds. This also includes meeting level 2 requirements of having the proper weight, having minor to no yaw rotation and having completed the flight at the nearby park following our mission profile. Our best test was completed at a time of 6.141 seconds of stable flight time which was great progress but failing our requirement. Supporting documentation is provided below and we have completed and failed this requirement.

 

Best Flight Video

 

Additional Resources:

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

Verification: Requirement 1.6 – Wireless Communication

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.6 – wireless communication of at least 10 feet. This also satisfies its corresponding level 2 requirements if applicable.

 

To meet the requirement the test of wireless communication had to succeed for bluetooth and RC. More details regarding the equipment for both of those methods of communication can be found in the additional resources below. The test were completed by executing arming and disarming of the quadcopter at increasing distances for RC controller connection testing. For bluetooth, we used the EZGUI to read/response to the RC controller real-live movements at at increasing distances for bluetooth connection testing. Supporting documentation is provided below and we have completed and passed this requirement.

 

RC Controller Arm/Disarm Test

Bluetooth EZGUI Application Controls Response

 

Additional Resources:

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

Previous Blog Post: Bluetooth Communication: Smart Phone Applications (Spring 2016)

Previous Blog Post: RC Control (Spring 2016)

Previous Blog Post: Bluetooth Module Update (Spring 2016)

Verification: Requirement 1.7 – Printed Circuit Board

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.7 – designing and manufacturing a Printed Circuit Board (PCB). This also satisfies its corresponding level 2 requirements if applicable.

 

To meet the requirement a PCB had to be designed, laid out, and manufactured to work properly. The way to verify proper function of the PCB is testing hardware and software. The hardware consists of the buck converter functioning correctly and software operating servos and lightshow working correctly.

 

Hardware:
Our quadcopter power source is our 14.7V LiPo Battery which is too high of a voltage to power most of our components. We would need 5 volts which led us to use a buck converter to step down the voltage. On our PCB we have an Surface Mount Device (SMD) buck converter and has successfully outputted 5 volts on the PCB pins when inputting 14.7 volts. Although after testing servos we took note in that a different buck converter will be needed in the future due to a lack of current draw that won’t power more than one servo smoothly.

 

Software:
On our PCB we also have an I2C SMD chip which executes the Arduino IDE or MultiWii IDE from the respective board to the PCB and executing the commands for the servos. We tested the Adafruit servo driver code was used and through an Arduino we were able to successfully power a servo as required by our verification matrix.

 

Supporting documentation is provided below as we have completed and passed this requirement.

 

Video of 5 Volts on PCB
Video of servo working

 

Additional Resources:

Previous Blog Post: Verification and Validation Matrices (Spring 2016)
Previous Blog Post: PCB Design: Schematic – Spring 2016
Previous Blog Post: UFO PCB Layout Spring 2016
Previous Blog Post: Prototype: Fritzing and Breadboarding – Spring 2016

Software Design – Multiwii 328P IDE Design

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

 

With most if not all quadcopters, there is a flight controller that is the brains of all flight operations. The flight controller’s IDE must be working correctly for controllers, motors, and more to all sync up properly. For our quadcopter we used the MultiWii 328P Flight Controller default IDE. The latest version we found and used was version 2.4 and can be found here. We took in this code and modified it as needed for use in our testing.
The code is compiled of the following files:

Multiwii
Alarms.cpp
Alarms.h
EEPROM.cpp
EEPROM.h
GPS.cpp
GPS.h
IMU.cpp
IMU.h
LCD.cpp
LCD.h
Multiwii.cpp
Multiwii.h
Output.cpp
Output.h
Protocol.cpp
Protocol.h
RX.cpp
RX.h
Sensors.cpp
Sensors.h
Serial.cpp
Serial.h
config.h
def.h
types.h

 

The main code we had to focus on was the configurations (config.h). We first had to setup the type of multicopter in use. For our case we had the QUADX setting. The reason we did not go with the QUADP, or plus, is because our setup flies smoother with the X method of control rather than the + method. They are theoretically identical and can both be considered for usage.

tonysoftware123

We also had to specify the board being used under the boards and sensor definitions:

tonysoftware1123

Next we looked into the motor maximum and minimum throttle:

tonysoftware3123

This became critical for our testing due to fine tuning the throttle to match the thrust being made from the additional fans. We ranged from 1200 to 1850 which was too low with no flight and too high with no control respectively.
We have yet to dig deeper into the code regarding the PID tuning and seeing how we could manipulate it or disarm it for our testing. We have had some attempts in adjusting the code but it has disoriented the flight stability too much and is still in need of further work.

tonysoftware4123

Additional Resources:
Previous Blogpost: Bluetooth Module Update Spring 2016
MultiWii Code Archive
MultiWii Configuration: Basic Setup

Prototype: Fritzing and Breadboarding – Spring 2016

Posted by: Luis Valdivia(Project Manager)
Written by: Kevin Nguyen(Electronics and Controls)

 

Table of Contents:

  • Introduction
  • Fritzing
  • Breadboarding
  • Protoboarding

 

Introduction:
It is important to prototype the schematic before sending it to the fab house. This is to ensure that the PCB would work the first time since PCB fabrication takes a lot of time and money.

 

Fritzing:
To start, a fritzing diagram is drawn on the Fritzing software. The Fritzing software allows us to draw out the connections of the physical components. This makes it easy to see where every component goes.

 

Fritzingfinalized

Fig 1.1 Fritzing Diagram

Breadboarding:
After finishing the fritzing, the circuit can be implemented onto a breadboard. Since the servo driver on our PCB does not come in through-hole packages it cannot be inserted into the breadboard. Once the buck converter is fully connected with all the supporting components, it must be tested for proper functionality. A power supply was used to test the breadboard. Setting the power supply to 14.8V to simulate the LiPo battery, we were able to acquire a 4.94V output.

 

testing out the buck

Fig 1.2 Testing the Buck Converter

 

Protoboarding:
Once the circuit is verified to be working. The components are transferred onto a protoboard to make things more compact and easy to use. The protoboard could be mounted onto the quad to be used for testing while waiting for the PCB to come in.

 

youngbuck

Fig 1.3 Protoboard

 

Conclusion:
The circuit schematic must be prototyped to make sure the circuit works before sending it off to be fabricated. The prototyping process for the circuit schematic includes fritzing, breadboarding, and protoboarding. This gives the extra benefit of being able to use the prototype while waiting for the PCB. These extra steps are needed to save time and money.

UFO PCB Layout Spring 2016

Posted by: Luis Valdivia (Project Manager)
Written by: Juan Mendez (Manufacturing Engineer)

Table of contents
Introduction
Wire Traces
Building the PCB

 

Introduction

Our PCB was laid out after the schematic that was provided by our electronics and control engineer. The size of the board was set to roughly 2.5 by 2.5 inches so it can fit on the UFO frame. The screw holes were spaced out roughly 1.8 inches apart from each other. The reason this was done was to have the ability to put the multiwii on top of the pcb or vice versa. Each component was organized based on the size of the component and following recommendations from the spec sheets. Components such as the battery alarm pin headers were spaced out because alarm was approximately 3 mm thick.I isolated it from everything else so spacing would not be an issue. The servo pin headers were spaced out evenly at roughly 2 mm apart so spacing would not be an issue when being connected to the servos. The buck converter was placed close to the input voltage pads. I placed ground vias on the thermal pad of the buck converter since it was recommended by the spec sheet. Components such as the capacitors and diodes were placed next to switching output pins in order to reduce magnetic noise. The output capacitor C3 was placed as close as possible to the inductor and diode to reduce noise and to increase efficiency. Resistors “R2” and “R3” were placed close to the Feedback pin as mentioned in the data sheet. Capacitor “C1” was  placed close to the enable pin and to ground as recommended on the data sheet. The pin headers for the bluetooth connections were put in the bottom so they would not get in the way of anything else similarly to the battery alarm. Lastly the Servo driver was placed close to the servo pin headers and the lightshow pin headers were added on the top left corner of the board.

 

PCBFINAL

Figure 1.1 .BRD layout of PCB on Cadsoft Eagle

 

Wire Traces

In order to make sure that mistakes were not repeated from previous semesters, we used a trace width calculator from 4PCB to calculate how thick the traces had to be. Each servo was going to be drawing a max of two amps. The board thickness was roughly 1 ounce. According to the trace calculator, the traces had to be roughly 2.03 mm thick in order to draw 2 amps. Other traces were either signal or did not draw enough current and were set to be no more than .5 mm thick.

 

Tracecalculator

Figure 1.2 Trace width calculator

Building the PCB

After laying out the PCB, we submitted our Layout and schematic to be ordered along with our parts list. With the help of our class president Ryland Watts, we were able to mount on the surface mounting parts using a reflow station in IEEE. We mounted on  the small resistors and capacitors first since they could have been done at once with the reflow station that we were using. Since the capacitors were bigger, we had to mount them on one at a time only because if we tried doing them all together, the heat of the reflow station would not reach the pads, therefore not mounting them properly. Once those components were on the PCB, we soldered on the pin headers. One issue we experienced was that the inductor ended up being bigger than we anticipated so the pads on the PCB were too small to mount on the inductor using the reflow station. To fix this, with the help of our electronics and control engineer, we soldered on the inductor and were able to mount on the inductor. Once the PCB was built, it was ready for testing.

pcbstogether

Figure 1.3 PCB before and after all parts have been attached

To view a video of the PCB Buck Converter stepping voltage, Click here

To view a video of the PCB Servo Power Supply, Click here

Reference:

To view the schematic for this PCB check out our blog post: PCB Design: Schematic – Spring 2016

Verification: Requirement 1.4 – Project Budget

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.4 – project budget remaining below provided funds. This also satisfies its corresponding level 2 requirements if applicable.
To meet the requirement, we had to finalize and approve a budget that was at most or less than the provided funding which was $167 U.S. Dollars. The budget was updated via our resource reports, specifically the project budget. A reimbursement form was created and provided receipts. This was approved by the customer and forwarded to the College of Engineering Electrical Engineering Department to finalize the process. Supporting documentation is provided below and we have completed and passed this requirement.

 

20160419_074842

Figure 1.1 Receipt of hobby people purchase (battery and safety bag)

paypal

Figure 1.2 Online receipt of hobbyking.com purchase (two Electric Ducted Fans)

Additional Resources:

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

Verification: Requirement 1.3 – Federal Aviation Administration, Unmanned Aircraft Systems, and California State University, Long Beach College of Engineering Compliance

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.3 – Federal Aviation Administration (FAA), Unmanned Aircraft Systems (UAS), and California State University, Long Beach College of Engineering (CSULB COE) compliance. This also satisfies its corresponding level 2 requirements if applicable.
To meet the requirement, compliance of FAA, UAS, CSULB COE rules and regulations had to be done. That consisted of registering the quadcopter officially under the FAA which included a UAS registration of 5 U.S. Dollars, acknowledgment of safety guidance, and its own registration number FA3C74WXLT. Supporting documentation is provided below and we have completed and passed this requirement.

$5

Figure 1.1 Registration Fee along with expiration

requirementstofly

Figure 1.2 User must follow these safety guidelines while flying aircraft

REGISTRATION

Figure 1.3 UFO Quadcopter MUST display registration number while flying. We attached the registration number to the ducted fans.

Additional Resources:

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