Multiple UAV Coordination By: Ethan Hoerr, Dakota Mahan, Alex - - PowerPoint PPT Presentation

multiple uav coordination
SMART_READER_LITE
LIVE PREVIEW

Multiple UAV Coordination By: Ethan Hoerr, Dakota Mahan, Alex - - PowerPoint PPT Presentation

Multiple UAV Coordination By: Ethan Hoerr, Dakota Mahan, Alex Vallejo Team Advisor: Dr. Driscoll Department: Bradley ECE Tuesday, February 24, 2014 2 Project Objectives Efficiency Flocking Safety Autonomy 3 System Block


slide-1
SLIDE 1

Multiple UAV Coordination

By: Ethan Hoerr, Dakota Mahan, Alex Vallejo Team Advisor: Dr. Driscoll Department: Bradley ECE Tuesday, February 24, 2014

slide-2
SLIDE 2

Project Objectives

  • Efficiency
  • Flocking
  • Safety
  • Autonomy

2

slide-3
SLIDE 3

System Block Diagram (Mothership)

3

Mother Ship Hardware Software

Front Facing HD Camera/Bottom Facing Camera/ GPS Color Recognition Collision Avoidance Auto & Manual Pilot Drones Based on Camera Feed to PC

Alexander Valeljo Dakota Mahan Ethan Hoerr Team Effort

3

slide-4
SLIDE 4

System Block Diagram (Drones)

4

Atmega328P Autopilot through transceiver/ transmitter

Drones

RGB LED Barometer 808 Pinhole Camera Relay/ Camera

PC

Alexander Valeljo Dakota Mahan Ethan Hoerr Team Effort

4

slide-5
SLIDE 5

Ethan’s Tasks

5

slide-6
SLIDE 6

Ethan’s Tasks

6 6

slide-7
SLIDE 7

Problems

  • Use Logic Analyzer feature of oscilloscope
  • Interpreting SPI data
  • Inconsistent binding when using ATmega328P to

directly communicate with BK2421 wireless transceiver

7 7

slide-8
SLIDE 8

Ethan’s Tasks

8 8

slide-9
SLIDE 9

Work Accomplished

  • Determine Hak909 Handset joystick potentiometer

profile

Joystick Measured Joystick Resistances (ohms) Yaw 4757 Throttle 4595 Roll 4912 Pitch 4313 Average: 4644.25

9 9

slide-10
SLIDE 10

Work Accomplished

  • Digital Potentiometer Selection:
  • 5kΩ potentiometer
  • SPI interface
  • 128, 256, or more taps
  • Single, dual, or quad pots per chip
  • Microchip MCP4251-502E/P
  • Two digital pots per chip: similar to two pots per joystick
  • 5kΩ, SPI, 256-taps, daisy-chain compatible

10 10

slide-11
SLIDE 11

Ethan’s Tasks

11

slide-12
SLIDE 12

Work Accomplished

  • Interface MCP41XX (10kΩ, 256-tap, single pot)

digital potentiometer with ATmega328P over SPI

  • Sweep from 0 to 10kΩ, wiper voltage out 0-5V:

12 12

slide-13
SLIDE 13

Work Remaining

  • Assemble digital potentiometer circuit

13

J1 MCP4251-502E/P 1 2 3 4 5 6 7 11 12 13 14 8 9 10 SDI SCK CS P1B Vss P1A P1W WP P0B P0W P0A VDD SDO SHDN V_Handset 3.50Vdc Joystick_1 Wiper V_Handset1 3.50Vdc ATmega328P 5V Joystick_2 Wiper ATmega328P GND ATmega328P Pin 10 ATmega328P Pin 13 ATmega328P Pin 11 J2 MCP4251-502E/P 1 2 3 4 5 6 7 11 12 13 14 8 9 10 CS Vss SDI SCK P1W P1B P0W P0A P1A SHDN WP P0B VDD SDO V_Handset2 3.50Vdc Joystick_3 Wiper V_Handset3 3.50Vdc Joystick_4 Wiper ATmega328P Pin 10 ATmega328P GND ATmega328P 5V ATmega328P Pin 13 ATmega328P Pin 11

13

slide-14
SLIDE 14

Ethan’s Tasks

14 14

slide-15
SLIDE 15

Work Remaining

  • Write ATmega328P code to address 4 joysticks

(daisy-chain 6 total SPI devices)

  • Receive control parameter values via USART from

Dakota’s image processing code

  • One byte each for throttle, pitch, yaw, roll
  • Translate to 8-bit value to send to digital pots

15 15

slide-16
SLIDE 16

Anticipated Problems

  • Image processing to quadcopter control
  • Need to minimize delay between two systems
  • Default digipot positions on handset powerup
  • Throttle: MUST be zero!
  • Yaw, pitch, roll: neutral position

16 16

slide-17
SLIDE 17

Previous Work

  • 808 Camera(Relay & Transistor)
  • Pay Load Testing
  • LED Testing
  • BMP 180

17 17

slide-18
SLIDE 18

Alex’s Tasks

18

slide-19
SLIDE 19

Work Accomplished

  • 808 Camera
  • Changes
  • Shutter
  • Power Button
  • Timer
  • Error:
  • Test Camera(1 Second Picture Time)
  • Current Cameras Fastest 5 Second Time
  • Power Button
  • Original Design

19 19

slide-20
SLIDE 20

Work Accomplished

  • Stitching Software(Hugin)
  • GIMP (Auto Cropping Script)

20 20

slide-21
SLIDE 21

Alex’s Tasks

21

slide-22
SLIDE 22

Work Accomplished

  • BMP 180
  • Sparkfun(Feet)
  • Coded Timers and added LED statements into BMP File
  • LEDs
  • Red – Under 15 Feet

2.2V

  • Blue – Greater than 25

3.2V

  • 7805
  • Testing Voltage Levels from

9V Li Ion Battery.

22 22

slide-23
SLIDE 23

Alex’s Tasks

23

slide-24
SLIDE 24

Work Accomplished

  • Designing Circuit
  • RGB LED
  • 5V Regulator
  • Reset Button
  • Microcontroller
  • Power Source
  • BMP 180
  • PerfBoard
  • Error:
  • Mis-Soldering

24

Atmega 328P

Pin 17 PB3 (2.2V) 120 Ohm 150 Ohm 180 Ohm 100 Ohm Red Led 2.2V Blue LED 3.2V

BMP 180

CL DA - +

5V A4(PC4)

B3F

Button

Reset 10k Ohm

7805 9 V Rechargeable

Battery

Pin 16 PB2 (3.2V) A5(PC5) GND VCC AVCC GND

5V

200 Ohm 100 Ohm

5V

3.3V

5V

24

slide-25
SLIDE 25

Work Remaining

  • Payload Test
  • Arial Testing(Camera)
  • Battery Testing(200mAh)
  • BMP - 5uA(Peak 650 uA)
  • RGB LED(30 mA)
  • Buttons/resistors(~50mAh)
  • Atmega328P(12.68 mA at 8Mhz)
  • Stitching Software testing
  • Work on Team Goals(Auto-Pilot, Navigation,

Parallelism)

25 25

slide-26
SLIDE 26

Previous Work

Red, Green, Blue color detection

26

slide-27
SLIDE 27

Dakota’s Tasks

27

slide-28
SLIDE 28

Work Accomplished

28

slide-29
SLIDE 29

29

slide-30
SLIDE 30

Dakota’s Tasks

30

slide-31
SLIDE 31

Image Processing

  • Gaussian Blur
  • Gaussian Sharpening
  • Bilateral Filter
  • Laplace Filter
  • OpenCV’s Find and Draw Contours

31

slide-32
SLIDE 32

Image Processing

Image Processing Flow Chart

32

slide-33
SLIDE 33

Original Image

Work Accomplished

33

slide-34
SLIDE 34

Work Accomplished

Bilateral Filter

34

slide-35
SLIDE 35

Work Accomplished

Gray Scale

35

slide-36
SLIDE 36

Work Accomplished

Laplace Filter

36

slide-37
SLIDE 37

Work Accomplished

Subtraction

37

slide-38
SLIDE 38

Work Accomplished

OpenCV Find Contours/Draw Contours

38

slide-39
SLIDE 39

Dakota’s Tasks

39

slide-40
SLIDE 40

Work Accomplished

  • USART over USB to Ethan’s microcontroller code
  • Thrust and Movement Commands

40

slide-41
SLIDE 41

Dakota’s Tasks

41

slide-42
SLIDE 42

GPS

  • GPS Data Acquisition from Parrot’s GPS

42

slide-43
SLIDE 43

Work Remaining

  • Threshold Value in RGB, CYM
  • GPS Movement
  • Drone Movement

43

slide-44
SLIDE 44
  • Smoothing Images [Online], OpenCV, Available:

http://docs.opencv.org/trunk/doc/py_tutorials/py_imgproc/py_filtering/ py_filtering.html

  • Enhancing Image Sharpness [Online], TutorialsPoint, Available:

http://www.tutorialspoint.com/java_dip/enhancing_image_sharpness. htm

  • Laplacian Operator [Online], TutorialsPoint, Available:

http://www.tutorialspoint.com/java_dip/applying_laplacian_operator.h tm

  • Wiley, Keith, “How Unsharp Masking and Laplacian Sharpening Work”

[Online] Available: http://keithwiley.com/astroPhotography/imageSharpening.shtml

References

44

slide-45
SLIDE 45

Multiple UAV Coordination

By: Ethan Hoerr, Dakota Mahan, Alex Vallejo Team Advisor: Dr. Driscoll Department: Bradley ECE

slide-46
SLIDE 46