Difference between revisions of "S14: Divine WINd"
Proj user8 (talk | contribs) (→Final Parts List) |
Proj user8 (talk | contribs) (→Final Parts List) |
||
Line 56: | Line 56: | ||
|align="center"|2 | |align="center"|2 | ||
|align="center"|SJOne board | |align="center"|SJOne board | ||
− | | | + | |align="center"|http://www.socialledge.com/sjsu/index.php?title=SJ_One_Board |
|- | |- | ||
|align="center"|4 | |align="center"|4 |
Revision as of 02:14, 25 April 2014
Contents
Grading Criteria
- How well is Software & Hardware Design described?
- How well can this report be used to reproduce this project?
- Code Quality
- Overall Report Quality:
- Software Block Diagrams
- Hardware Block Diagrams
- Schematic Quality
- Quality of technical challenges and solutions adopted.
Divine WINd
Abstract
Divine WINd is a quadcopter that focuses on stable flight and simple movement controls. There are two modules in which Divine WINd are composed of: the controller and the quadcopter. The controller module sends a signal to the quadcopter in how the quadcopter's pitch and roll orientation should be set to. The quadcopter's orientation dictates the type of movement the quadcopter will perform.
In order to set to the quadcopter to its desired orientation, an accelerometer and gyrometer are implemented in order to receive the quadcopter's current orientation. The quadcopter will then adjust its fan blades to balance itself in order to be re-positioned to its the desired orientation.
Objectives & Introduction
Show list of your objectives. This section includes the high level details of your project. You can write about the various sensors or peripherals you used to get your project completed.
Team Members & Responsibilities
- Ryan Marlin
- (Team role)
- Eriberto Velazquez
- (Team Role)
- Devin Villarosa
- (Team Role)
How Quadcopters Fly
Final Parts List
Quantity | Items | Notes |
1 | Bumblebee 550 Quadcopter Kit | Kit came with 4x 20A High Speed ESC, 4x 2812 Brushless Motors 4, and 4x 10x3.8 Props. Manufacturer and part number are unidentifiable. http://www.amazon.com/Bumblebee-Quadcopter-10x3-8-Props-Motor/dp/B009P1UYBK/ref=sr_1_sc_1?s=toys-and-games&ie=UTF8&qid=1398390072&sr=1-1-spell&keywords=bumblebee+quadcopyter |
1 | Sunkee 10DOF 9-axis Attitude Indicator L3G4200D ADXL345 HMC5883L BMP085 Module Arduino | http://www.amazon.com/gp/product/B00CD239UG/ref=oh_details_o09_s02_i01?ie=UTF8&psc=1 |
1 | Bias 60C 4S 5000mAh 14.8V LiPO Battery with Uni Plug | http://www.amazon.com/gp/product/B00FMYY30W/ref=oh_details_o05_s00_i00?ie=UTF8&psc=1 |
2 | SJOne board | http://www.socialledge.com/sjsu/index.php?title=SJ_One_Board |
4 | JST Connectors | Used for convenience to connect Lipo batteries to ESCs |
1 | 5V voltage regulator | Used for quadcopter's power module |
2 | Wire terminals | Used for quadcopter's power module |
1 | Circular Protoboard | Used for quadcopter's power module |
1+ | Header Pins | Used for quadcopter's power module |
1 | 4x4 Matrix Keypad | Used for quadcopter's Control module |
Schedule
Task | Projected Completion Date | Actual Completion Date | Status | Notes | |
Buy and Order Parts | 6-Mar | 13-Mar | Complete | Delayed due to researching how to build quadcopter. Ended up ordering a Quadcopter Kit for amateurs' convenience. Parts are ordered from Hong Kong. Customs may take 10+ days plus additional days for shipping (10-30 days). Ordered another kit from U.S. warehouse to complete project on time. | |
Build Quadcopter | 20-Mar | 26-Mar | Complete | The instructions are mixed in Chinese and English. Diagrams to construct quadcopter is doable, but not great | |
Install Quadcopter Sensors | 20-Mar | 18-Apr | Complete | ||
Install Quadcopter Power Unit | 20-Mar | 5-Apr | Complete | Simple I2C interface. Powering and finding each sensor's address ID may not be as simple | |
Implement Quadcopter Movement System | 27-Mar | ||||
Implement Control System Inputs | 3-Apr | ||||
Implement Control System's Wireless Communication | 10-Apr | 12-Apr | Complete | Used on-board Nordic Antenna with given API | |
Implement Quadcopter IP Camera | 17-Apr | Unavailable | Unavailable | SJOne board does not have enough power to handle video imaging. Too late to redesign with high level microcontroller | |
Implement IP Camera Output on LCD Controller with wireless communication | 24-Apr | Unavailable | Unavailable | SJOne board does not have enough power to handle video imaging. Too late to redesign with high level microcontroller | |
Test for Demo / Final touches | 1-May | ||||
Demo | 8-May |
Design & Implementation
The design section can go over your hardware and software design. Organize this section using sub-sections that go over your design and implementation.
Hardware Design
Discuss your hardware design here. Show detailed schematics, and the interface here.
Controller Module
Keypad Interface
Quadcopter Module
Quadcopter Power Module
Hardware Interface
In this section, you can describe how your hardware communicates, such as which BUSes used. You can discuss your driver implementation here, such that the Software Design section is isolated to talk about high level workings rather than inner working of your project.
ESC Interface
The SJOne board communicates with the ESCs via PWM. The SJOne's PWM output is connected to the white wire of the ESCs 3 pin input. The ground is connected to the black wire, and the ESCs red wire is left hanging, because it is a 5V output. In order to calibrate the ESCs, so that the ESC can produce the range in which the PWM's duty cycle dictates the rate in which the motor produces, the following steps must take place, depending on the ESC manufacturer.
The following steps are used to calibrate this project's ESC:
1) Disconnect power to the ESC
2) Set PWM to an acceptable ESC frequency (between 100hz - 400hz)
3) Set PWM duty cycle to its maximum rating (99%) (This step simulates using a flight controller's transceiver's throttle to the maximum)
4) Plug power to the ESCs
5) Until ESCs gives "beeping signal" in which it accepted its maximum throttle rating, set PWM to lowest throttle (0%) (This simulates using a flight's controller to its minimum throttle).
6) Wait until ESCs "beeps" to signal that accepted minimum throttle is accepted
7) The ESCs has now internally calibrated its throttle acceptance. The user can now send different duty cycle ratings in order to manipulate all motors.
Inertial Measurement Unit (IMU)Interface
The acceleroeter and gyrometer are packaged in the Sunkee 10DOF 9-axis Attitude Indicator. For this project's application, only the accelerometer and gyrometer are necessary to retrieve the quadcopter's current orientation. Due to this IMU's package, all sensors are tied on the I2C bus and are accessible via I2C.
Wireless Interface
The team decided to use the on board Norton wireless chip found on the SJOne board. This wireless interface is reliable and has enough distance for this project's application
Software Design
Show your software design. For example, if you are designing an MP3 Player, show the tasks that you are using, and what they are doing at a high level. Do not show the details of the code. For example, do not show exact code, but you may show psuedocode and fragments of code. Keep in mind that you are showing DESIGN of your software, not the inner workings of it.
The MPU-9150 consists of a 3-axis accelerometer, 3axis Gyroscope and a 3 axis magnetometer. its a one chip IMU solution with onboard Motion processor for sensor fusion.Though it inherently supports on board Sensor Fusion, the IP is undisclosed. Therefore we used the library for arduino by Pansenti. (https://github.com/Pansenti) The 6 axis sensor fusion (accel+gyro) is done on the MPU and sent to an arduino where the magnetometer data is used for YAW correction. The arduino transmits the orientation data over UART which is recieved by the SJONE for further processing.
For testing, we coded a GUI in python. The code parses the serial data from the arduino and displays the orientation of the IMU in real-time using Vpython.(video and code to be linked).
Software Implementation
This section includes implementation, but again, not the details, just the high level. For example, you can list the steps it takes to communicate over a sensor, or the steps needed to write a page of memory onto SPI Flash. You can include sub-sections for each of your component implementation.
Controller Software Implementation
Quadcopter Software Implementation
Testing & Technical Challenges
Describe the challenges of your project. What advise would you give yourself or someone else if your project can be started from scratch again? Make a smooth transition to testing section and described what it took to test your project.
Include sub-sections that list out a problem and solution, such as:
Shipping Time
Problem: The first quadcopter kit was shipping from China. This problem may result in a possible 2-4 weeks delay in working on the project.
Solution: In order to place it safe, the team ordered the same kit from an American retailer on Amazon. Additionally, the initial kit from China was delivered 10 days after ordering.
Suggestion: Make sure parts are ordered in America
Shorting Lipo Battery
Problem: The team terminated the battery wires so that powering the quadcopter system will be convenient. When terminating, the power and ground wires touched, causing the Lipo battery to short and break. Lipo batteries are very volatiles and needs to be handled with care.
Solution: Team ordered a higher-grade Lipo battery in order to increase quadcopter's flight time
Suggestion: Make sure that power and ground do not cross
Flimsy Quadcopter Supplies
Problem: ESCs and motors are bound to break. Team ordered an extra ESC online, but of a different brand. This resulted in a stronger ESC, which causes an imbalance when flying the quadcopter and delay in progress.
Solution: Used spare parts from second quadcopter
Suggestion: Order 2 more ESCs and motors of the same brand
Conclusion
Conclude your project here. You can recap your testing and problems. You should address the "so what" part here to indicate what you ultimately learnt from this project. How has this project increased your knowledge?
Project Video
Upload a video of your project and post the link here.
Project Source Code
Send me your zipped source code and I will upload this to SourceForge and link it for you.
References
Acknowledgement
Any acknowledgement that you may wish to provide can be included here.
References Used
List any references used in project.
https://github.com/Pansenti
https://code.google.com/p/sf9domahrs/
Appendix
You can list the references you used.