Sm4rt Bird
description
Transcript of Sm4rt Bird
![Page 1: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/1.jpg)
![Page 2: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/2.jpg)
Review from 4810• Designing a quad rotor copter to aid in USAR missions.
• Implementing an autonomous and manual mode of operation.
• Autonomous flight will allow the copter to follow a target without any user commands having to be entered.
![Page 3: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/3.jpg)
Changes Made from PDR:• Purchasing our own flight controller.
• Increasing autonomous capabilities of device.
• No longer using MATLAB for GUI/Computer Vision.
![Page 4: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/4.jpg)
GUI
![Page 5: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/5.jpg)
Power
- A power harness must be designed and fabricated or purchased
- The harness will hold the ESCs at the full battery voltage
- The harness must be able to handle the current- The harness must avoid being too bulky
![Page 6: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/6.jpg)
Power HarnessSpider Squid
![Page 7: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/7.jpg)
Wire Gauge- Using the Preece equation for the ampacity of a copper wire , , one
can estimate the necessary diameter given a certain current- is the fusing current for the wire- is a constant that is specific to different materials- is the diameter of the wire- Because of the relationship between diameter and fusing current,
using one thicker wire versus 4 thinner wires can reduce weight.
![Page 8: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/8.jpg)
Wire Gauge
- Our copter will use 30 Amp ESCs, so the gauge of the cross-wires will be determined using 60 Amps.- Using the equation from earlier, and a chart of American
Wire Gauge diameters, the cross wires should be between .19 and .20- For even more leeway we will use .18- Using the same method and KCL it was determined that the
main wires before the X should be .12
![Page 9: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/9.jpg)
Connectors
- 3.5 mm Bullet style connectors
- EC5 Connector
www.rcdude.com
www.twistedhobby.com
![Page 10: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/10.jpg)
Other Power Considerations
- The ESCs are held at the batteries full voltage (14.8V)- The ESCs BECs (Battery Eliminator Circuit) power the flight
controller (5V)- The ESCs also limit the power delivered to each motor- The ESCs are rated at 30A, which exceeds the maximum
current draw of the motors which is 18A
![Page 11: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/11.jpg)
Power Considerations- Since most of the components are held at a constant DC voltage, the
available current from the battery needs to be considered - Since the ESCs (x4) can draw up to 30A, the battery will need to be
able to supply 120A - Maximum discharge is determined by =- Were C is known as the discharge rate- For our application we are using a 5000mAh battery with a discharge
rate of 25C - Our maximum discharge would be 125A
![Page 12: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/12.jpg)
Flight ControllerFeatures
• Supports MegaPirateNG and MultiWii firmware
• Up to 8 motor outputs• 4 Serial ports for debug/Bluetooth/GPS• 8 Analog output for external devices• I2C port for extended device• MPU6050 6-axis gyro/accel• HMC5883L 3-axis magnetometer• MS5611-01BA01 high precision altimeter• On board logic level converter
http://www.hobbyking.com/hobbyking/store/__31138__multiwii_and_megapirate_aio_flight_controller_w_ftdi_atmega_2560_v2_0.html
CRIUS AIOP v2.0 (atmega 2560)
![Page 13: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/13.jpg)
Flight Controller
From PDR
![Page 14: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/14.jpg)
Flight Controller
New and optimized design
![Page 15: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/15.jpg)
Flight ControllerFeatures
• MSP430F249 microcontroller
• 12V, 5V, 3.3V voltage regulators
• 4 onboard programmable LEDs
• 40+ General Purpose I/O pins
• 16Mhz crystal oscillator• 2 UART ports• 60KB flash memory• 2KB RAM
![Page 16: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/16.jpg)
Flight ControllerWhat has been done:
• Test of all the parts on the board• Establish PC to microcontroller
communication• Generation of PWM for motor
control
What needs to be done:
• Acquire readings from sensors• Test wireless communication• Implement control algorithm
![Page 17: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/17.jpg)
Computer Vision
![Page 18: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/18.jpg)
Tools:• Python2.7.5 with
Spyder IDE• OpenCV 2.4.2
Image Processing Library from Intel
![Page 19: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/19.jpg)
HSV • Hue, Saturation, Value
• Used instead of RGB because it is the “pure” color, effected very little by brightness or lighting levels.
• Often used in CV for feature detection or image segmentation.
![Page 20: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/20.jpg)
Approach• Read in image from camera
• Convert image from RGB to HSV
• Filter HSV image properties to only show objects in image with certain properties
![Page 21: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/21.jpg)
DEMONSTRATION
• Objective: Detect a pink highlighter from three different color highlighters
• Using the aforementioned approach, the following results were obtained.
![Page 22: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/22.jpg)
Continuing Work• From the filtered HSV image, a shape of a certain color must now be
detected. Preferably circle.
• The circles parameters can be used to measure distance and relation in space to quadcopter.
• Adjust movements accordingly based on size and location of circle in radius to maintain target at desired distance from robot.
![Page 23: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/23.jpg)
Gantt Chart
We are here
![Page 24: Sm4rt Bird](https://reader033.fdocuments.net/reader033/viewer/2022051821/5681677a550346895ddc7a2f/html5/thumbnails/24.jpg)
Plan: Now-Milestone 2• When parts arrive, Tony and Gilles will begin construction of device.
• During construction, John and Justin will continue working on Computer Vision, GUI, and software integration.