A.Q.U.A.L.U.N.G.
description
Transcript of A.Q.U.A.L.U.N.G.
![Page 1: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/1.jpg)
Bianca WoodChris Culver
Shane ParkerYousef Al-Khalaf
![Page 2: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/2.jpg)
Motivation
Challenge Our CapabilitiesSense of AccomplishmentSheer Fun
![Page 3: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/3.jpg)
Objectives
Build a flying stable quadrotorAgileReal-time, intelligent decision-makingAutonomous
![Page 4: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/4.jpg)
Challenges •Waiting for parts to come in •Not having a proper testing environment
•(worked in a ditch literally)•Making something fly, and also be stable• Having our frame break two days before our final presentation
![Page 5: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/5.jpg)
Specifications
Each quadrotor is .91 m diamterHeight of .178 m Weight ~ 5 lbsAble to operate for 15 minutes on a single charge
![Page 6: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/6.jpg)
A.I. Controller
Power System
Image Processor
Flight Control
Current Position
Shut Off
Memory Power Switch
Starting Pos.
Motor ControllerCamera
Block Diagram
Fire Control
![Page 7: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/7.jpg)
A.I. Controller
Power System
Image Processor
Flight Control
Current Position
Shut Off
Memory Power Switch
Starting Pos.
Motor ControllerCamera
Block Diagram
Fire Control
![Page 8: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/8.jpg)
A.I. Controller
Power System
Image Processor
Flight Control
Current Position
Shut Off
Memory Power Switch
Starting Pos.
Motor ControllerCamera
Block Diagram
Fire Control
![Page 9: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/9.jpg)
A.I. Controller
Power System
Image Processor
Flight Control
Current Position
Shut Off
Memory Power Switch
Starting Pos.
Motor ControllerCamera
Block Diagram
Fire Control
![Page 10: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/10.jpg)
A.I. Controller
Power System
Image Processor
Flight Control
Current Position
Shut Off
Memory Power Switch
Starting Pos.
Motor ControllerCamera
Block Diagram
Fire Control
![Page 11: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/11.jpg)
Power
Micro Controller
Motor
Motor
Motor
Motor
Movement
A.I. Controller
Flight Control Sub-System
![Page 12: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/12.jpg)
NavigationControl
Algorithm Coordinates /
Sensors Motors
Navigation•Coordinates come from AI computer
Stabilization•Readings come from sensors
PWM Signal
![Page 13: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/13.jpg)
Rxacc = (ADCRx*Vref/1023 – Vzerog)/ Sensitivity
Ryacc = (ADCRy*Vref/1023 – Vzerog)/ Sensitivity
Rzacc = (ADCRz*Vref/1023 – Vzerog)/ Sensitivity
R2= Rxacc + Ryacc + Rzacc
2 2 2
-ADC = Value coming from accelerometer -Vref = Reference voltage from ADC -1023 = Max value of ADC bus-Vzerog = Acc under 0 g’s of force -Sensitivity = Relationship between changes in acceleration to change in output
Accelerometer
( ) Θxr = cos
-1 Rx
R
( ) Θzr = cos
-1 Rz
R
( ) Θyr = cos
-1 Ry
R
![Page 14: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/14.jpg)
Gyroscope
θxy = Rotation around Z axis Yaw
θyz = Rotation around X axis Roll
θxz = Rotation around Y axis Pitch
Rate θxy = (ADCxy*Vref/1023 – VoltsZeroRate)/Sensitivity
Rate θxz = (ADCxz*Vref/1023 – VoltsZeroRate)/Sensitivity
Rate θyz = (ADCyz*Vref/1023 – VoltsZeroRate)/Sensitivity
-ADC = Value coming from gyro-Vref = Reference voltage from ADC -1023 = Max value of ADC bus-VoltsZeroRate = Output voltage when no rotation-Sensitivity = Change in output voltage with one degree per sec rotation
![Page 15: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/15.jpg)
Combining Accelerometer and Gyroscope Data
• Takes Accelerometer data • Checks it against Gyroscope data and past output data• Corrects itself
• Rout(n) = Current output of Algorithm• Rout(n-1) = Last output of Algorithm • Rate θ = Gyro output • Rgyro = Current gyro & past output combined
![Page 16: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/16.jpg)
Θxz(n-1) = atan2(Rxout(n-1), Rzout(n-1))Θyz(n-1) = atan2(Ryout(n-1), Rzout(n-1))Θxy(n-1) = atan2(Rxout(n-1), Ryout(n-1))
Θxz(n) = Θxz(n-1) + Rate θxz(n)*T
Θyz(n) = Θyz(n-1) + Rate θyz(n)*T
Θxy(n) = Θxy(n-1) + Rate θxy(n)*T
Rxgyro(n) = sin(Θxz(n)) / SQRT{1 + cos (Θxz(n) )*tan (Θyz(n))} 2 2
Rygyro(n) = sin(Θyz(n)) / SQRT{1 + cos (Θyz(n) )*tan (Θxz(n))} 22
Rzgyro(n) = SQRT( 1 – Rxgyro (n) – Rygyro (n))22
(T= sampling period)
• Rout(n) = Current output of Algorithm• Rout(n-1) = Last output of Algorithm • Rate θ = Gyro output • Rgyro = Current gyro & past output combined
![Page 17: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/17.jpg)
Rout(n) = Racc + Rgyro ( ) w2
w1
( ) w2
w11 +
( ) w2
w1
*= How much to trust the gyro over the accelerometer
![Page 18: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/18.jpg)
Computer VisionHaar Wavelets, first real time face detector.
Viola and Jones adapted idea, developed Haar-Like-Features. Considers adjacent rectangular regions at a specific location
in a detection window. Sums pixel intensities. Calculates difference between the sums.
![Page 19: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/19.jpg)
Computer Vision•Integral Image Algorithm
•Single Pass Over the Image
•Evaluating any Rectangle in Constant Time
![Page 20: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/20.jpg)
Overall Software Class Diagram
![Page 21: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/21.jpg)
Artificial Intelligence Subsystem
![Page 22: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/22.jpg)
State Machine
![Page 23: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/23.jpg)
Navigation Mesh
![Page 24: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/24.jpg)
Path With Navigation Mesh
![Page 25: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/25.jpg)
Hardwarei7 Ivy Bridge16GB DDR3 1600 with 9-9-9-24 Timings120GB SSDNVIDIA 8900 GT
![Page 26: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/26.jpg)
Voltage : 2.1 – 3.6
Frequency : 2.4 GHz
Data Rate : 250 Kbps
Range : 200 ft open space
Voltage : 5 v
Current : 500 mA
![Page 27: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/27.jpg)
Power(2) Lithium-ion Polymer batteries11.1 v 2200mAhMounted on the
bottomCamera powered
by 9VPCB to disperse the
power
![Page 28: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/28.jpg)
Power Distribution
Battery 1
Battery 2
PCB &
Voltage Regulator
ESC/Motor
ESC/Motor
ESC/Motor
ESC/Motor
![Page 29: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/29.jpg)
PCB•Power in from left and right• Voltage regulator came with
MCU•5V Regulator•Receiving ~ 22V
• 2 diodes •4 arms to the ESCs/motors
![Page 30: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/30.jpg)
PCB•Power in from left and right• Voltage regulator came with
MCU•5V Regulator•Receiving ~ 22V
• 2 diodes •4 arms to the ESCs/motors
![Page 31: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/31.jpg)
PCB•Power in from left and right• Voltage regulator came with
MCU•5V Regulator•Receiving ~ 22V
• 2 diodes •4 arms to the ESCs/motors
![Page 32: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/32.jpg)
PCB•Power in from left and right• Voltage regulator came with
MCU•5V Regulator•Receiving ~ 22V
• 2 diodes •4 arms to the ESCs/motors
![Page 33: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/33.jpg)
FinancesMotors (2) $500 donationsPCB materials donatedSelf funded
![Page 34: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/34.jpg)
BudgetItem Quantity
Price per Quantity Total Price
Quadcopter Frames 2 $30, $100 $130
Computer 1 $1,000 ($1,000)
Motors 12 $10 ($120)
Slowfly electric prop 1045R 4-piece set 4 $3 $12
Wireless Microprocessor 1 $150 $150
Wireless 2.4 GHz camera 1 $20 $20
Wireless 2.4 GHz USB receiver 1 $40 $40
Zigbee 1 $80 $80
ESCs 4 $7 $28
11.1V 2200mAh 25C LiPo Battery 2 $15 $30
PCB 1 - -
Miscellaneous Unknown UnknownAllocating
$150
Total $640
![Page 35: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/35.jpg)
Thank youSponsors
Jeff MolerTim ParkerJohn Enander
Dr. Samuel Richie
![Page 36: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/36.jpg)
Questions
![Page 37: A.Q.U.A.L.U.N.G.](https://reader036.fdocuments.in/reader036/viewer/2022070414/56814e45550346895dbbc035/html5/thumbnails/37.jpg)
Bianca WoodChris Culver
Shane ParkerYousef Al-Khalaf