43
LOGO FUFO project Final report 1

LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

Embed Size (px)

Citation preview

Page 1: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

FUFO projectFinal report

1

Page 2: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGOContents

Introduction1

Hardware & Software2

Algorithms3

Experiments and results4

2

Conclusion5

Page 3: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

3

Introduction FUFO team

Page 4: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

Definition: A Vertical Take-Off and Landing aircraft. Has 4 rotors.

4

Introduction History

Page 5: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

The first Quadrocopter was developed in 1920.

No commercialized Quadrocopter because: Limitation of technology and science at that time.

5

Introduction History

Page 6: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

6

8 years before 2012, many institutes and companies began to research on this platform as a small UAV.

Introduction History

Page 7: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

7

Commercialized product

Airbot X600-BKPP (€ 34,500) Radio control unit (2.4 GHz) Live video stream GPS waypoint navigation

CyberQuad Maxi ($ 36,000) Radio control unit GPS waypoint navigation Live video stream

Introduction

Page 8: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

8

Idea

Develop a Quadrocopter for observation purpose.

Introduction

Page 9: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

Quadrocopter Helicopter Fixed-Wing aircraft

Aerodynamics mechanical

design

No Yes Yes

Control method Medium Medium Complicated

Runway No No Yes

9

Quadrocopter is more suitable for embedded Engineering students who are not familiar with

aerospace issue and mechanical design.

IdeaIntroduction

Why choosing Quadrocopter platform?

Page 10: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

10

Android phone In-circuit designs

Software development Android SDK Linux, C30…

Evaluation of controlling by phone/tablet via Bluetooth?

Yes No

Risk and complexity in hardware design

Low High

Cost Low High

Has built-in camera, Wi-Fi, 3G module

Phone is still usable after this Capstone project

IdeaIntroduction

Why choosing Android Phone?

Page 11: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

11

Sensor data

Command

Bluetooth

IdeaIntroduction

Page 12: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

12

PictureJPEGPictureJPEG

IdeaIntroduction

Page 13: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

13

Control Mode

Autonomous(Dynamic

Stabilization)Manual

IdeaIntroduction

Page 14: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

14

Manual mode

Wind

IdeaIntroduction

Page 15: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

15

Go to 1m

WindDynamic stabilization

SAFEDynamic Stablization

IdeaIntroduction

Page 16: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

16

Hardware studyHard & SoftNo. Components Quantity Description

1 dsPIC30f4012 1 Microcontroller

2 HC-06 1 Bluetooth module

3 BMP085 1 Barometer

4 L3G4200D 1 Gyroscope

5 ADXL345 1 Accelerometer

6 HW 30A ESC 4 Electronic speed Controller

7 Himodel 2212 1400kv

4 Brushless motor

8 Turnigy 3000mAh 11.1v 3s

2 Li-Po battery pack.

9 HTC HD2 1 Android 2.3 phone

Page 17: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

17

Hardware studyHard & SoftdsPIC30f4012 Microcontroller

Max speed: 30 MIPS 16x16 bit working arrays 5 timers, 3 PWM generators Programmable by C30.

Page 18: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

18

Hardware studyHard & SoftBMP085 + ADX345 + L3G4200D

All-in-one module:• 3-axis accelerometer.• 3-axis gyroscope.• -300m to 9000m altimeter.

Page 19: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

19

Hardware studyHard & SoftTurnigy 3000mAh battery pack

3000mAh x 2 253 grams x 2 11.1v Discharge rate: 20C

Page 20: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

20

Hardware studyHard & SoftMotor and ESC

1400kv Brushless motors 8x4” propellers ESC PWM range: 1ms – 2ms

Page 21: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

21

Hardware studyHard & SoftHTC HD2 Android 2.3

320x240 camera. Has Bluetooth and Wi-Fi connection Run on Android 2.3

Page 22: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

22

Hardware designHard & Soft

Page 23: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

23

Hardware designHard & Soft

Page 24: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

24

Frame designHard & Soft

Motor mount

Circuit mount

440 mm

Fiber Glass & Fiber Carbon

Page 25: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

25

FUFO QuadrocopterHard & Soft

Page 26: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

26

Software studyHard & Soft Iterative model:

Page 27: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

27

Software studyHard & Soft Embedded system development:

Page 28: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

28

Software studyHard & Soft Three software:

Software on PC Software on Phone Firmware

UDP/IP

Video Control

AOC

Status Control

Command Control TCP/IP*

*

* *

*

*

AOP

Command Control

Status Control

Video Control

Quadrocopter Firmware

Interface1

Page 29: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

29

Software studyHard & Soft FSM:

StartWaitingForConnection Verify

PendingSetupForFlightReady

Hovering

Landing

Error

Power on

System initiatedSystem connected

Control method selected

Start button pressed

Sensor data initiated

First altitudeis chosen

Any error

Altitude is set to zero Motor stopped

Page 30: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

30

Software studyHard & Soft PC interface:

Page 31: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

31

Software studyHard & Soft Android interface:

Page 32: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

32

Quadrocopter DynamicAlgorithms Inertial Frame, Body frame and Euler

Angle:

Page 33: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

33

Quadrocopter DynamicAlgorithmsInput:

𝜂1 = [x,y,z];

𝜂2 = [ , , ]; 𝜃 𝜑 𝜓 x = y = 0.

Output: [F1,F2,F3,F4]

Linear translational movement Rotational movement

Page 34: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

34

PID Control systemAlgorithmsOpen-loop feedback controller:

Page 35: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

35

Signal ProcessingAlgorithmsEuler angles calculation:

Gyroscope: Integration of angular velocity over time.

Accelerometer: Multiplication with a (x,y,z) Direction Cosine Transformation Matrix.

Page 36: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

36

Signal ProcessingAlgorithmsTheta angle by Accelerometer and

Gyroscope:

BEFORE FILTERAFTER HIGH-PASS AND LOW-PASS FILTER

Page 37: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

37

Signal ProcessingAlgorithmsTheta angle by Accelerometer and

Gyroscope:

AFTER COMPLEMENTARY FILTER

Page 38: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

38

ExperimentsExperiment<Show video>

Page 39: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

39

ResultsExperimentIndoor flight:

Page 40: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

40

ResultsExperimentOutdoor flight:

Page 41: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

41

AchievementConclusion

Successfully proved the correctness of the aforementioned algorithms.

Understand more about this flying platform for further improvement and development.

Page 42: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

42

Future ImprovementConclusion Develop a higher response system. Hold altitude in narrow and low area with

precision of +-0.1 m Hold a specified position on map or

moving on a track. Obstacle detection and avoidance. CMOS camera's video transmission over

long distance.Object detection based on image

processing.

Page 43: LOGO FUFO project Final report 1. LOGO Contents Introduction 1 Hardware & Software 2 Algorithms 3 Experiments and results 4 2 Conclusion 5

LOGO

www.themegallery.com

From FUFO team with love

43