20
GauchoHawk End of Quarter Report Vikram Sastry, Yesh Ramesh, Kurt Madland, Jack Zang, Richard Young, and Shawn Zhang

GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

GauchoHawkEnd of Quarter Report

Vikram Sastry, Yesh Ramesh, Kurt Madland, Jack Zang, Richard Young, and Shawn Zhang

Page 2: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

INTRODUCTIONPixhawk Pitfalls

1. No high quality inertial measurement unit (IMU) for precision flight control.

2. No magnetometer for extended periods of inertial guidance and state estimation.

3. No Ethernet interface for high speed connection to Linux Computers or IP data links.

4. No Real Time Kinetic (RTK) capable GPS for accurate reference “truth” measurements.

5. No precise time source for time-stamping sensor data in absence of GPS.

2

What is the Pixhawk?

Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight control software to the academic, hobby, and industrial communities at low costs and high availability.

Page 3: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

Pixhawk + Improved Hardware + a few Gauchos(and a little help from Aerovironment)

= GauchoHawk

3

Page 4: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

MEET THE TEAM

Vikram Sastry

Yesh Ramesh

Kurt Madland

Jack Zang

Shawn Zhang

Richard Young

4

Team Leader, System Design

Software Porting, Digital Design

Analog & Digital Design, System Design

Analog & Digital Design, System Design

Software Porting, Interface Design

Software Porting, Interface Design

Page 5: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

Shield Hardware DevelopmentWe propose to use the STMicroelectronics Nucleo-STM32F767ZI board in conjunction with a “Shield” daughterboard to introduce a high quality IMU, Barometer/Altimeter, Magnetometer, Airspeed Sensor, RTK GPS, XBEE Radio, SBUS, CAN, Servo/Motor PWM, and Interrupt/GPIO capability.

PROJECT DESCRIPTION

PX4 Software ImplementationWe propose to port the open source PX4 middleware, flight control stack, and NuttX OS to the Nucleo board and develop a new sensor driver suite to support the full expanded functionality of the sensor shield daughterboard.

5

Page 6: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

PROJECT APPLICATIONS

1. Agriculture● Identifying irrigation deficiencies,

inspect crops for stress, etc.

2. Military● Training, tactical UAV missions,

missile guidance, etc.

3. Online Retail● Reduce delivery overhead, etc.

4. Many more…

6

Page 7: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

System Design Overview

7

Page 8: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

Components

▫ List of Components▪ Microcontroller Unit - STM32F767ZI▪ Wireless Network - XBEE 900HP▪ Pressure - LPS22HB▪ Pressure & Temperature - MS4515DO▪ Navigation - Neo-M8P▪ Magnetometer - QMC5883L▪ Motion Tracking - MPU-9250 IMU

8

Page 9: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

Hardware

Page 10: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

PCB Schematic

10

Page 11: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

PCB Layout

11

Page 12: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

PCB

12

Page 13: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

Power Distribution

13

Supplying 24V to our PCB● 5.5 V analog (servos), 5V digital, and 3.3V digital● Servos require 5.5V to VDD

Component Supply Voltage

Servos (8) 5.5 V

Peripherals (7) 3.3 V

Servos Signal (8) 5 V

Page 14: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

Software

Page 15: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

Software

15

▫ Port PX4 to Nucleo F7▪ Successfully able to flash and run the PX4

firmware on our board▪ Use STM32CubeProgrammer application to load

“.elf” file▪ Use mavproxy via python’s pip installer to

connect to appropriate serial port▪ Run:

▫ “module load nsh”▫ “nsh start”

▪ Above commands will run NuttX Shell▫ Allows us to interface with the board and

pass commands/read data

▫ Commands▪ PWM currently working▪ Some driver specific commands are still needed

Page 16: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

Software

16

▫ Drivers▪ We have code for most of the drivers, but

most are untested▪ Currently working on setting up tests for

each component and driver pair

▫ Prototype Skeleton Code▪ Our sponsor sent us some skeleton code

fleshing out some of the drivers we don’t have configured yet

▪ Caveat: They’re not formatted for PX4 usage, so some adaptation is needed

▪ Shouts out to the Phil Dawg

Page 17: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

Progress Check

17

Page 18: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

Critical Elements

18 ▫ PCB Assembly may be faulty▪ Requires us to re-spin the PCBs, which

is a time consuming process▪ Could be problematic to debug given

state of drivers▫ Drivers not all functioning, or even tested

▪ We have an assortment of driver code from various sources:▫ Some from the official PX4 Repo▫ Some from our sponsor’s skeleton

code▪ Skeleton code requires adaptation to

function with the PX4 flight stack▪ Above could lead to consistency issues

Page 19: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

Conclusion

19 ▫ Goals for Spring 2018:▪ All modules have a corresponding

driver▪ All drivers to be integrated and

communicating with NuttX▫ Including driver specific commands

accessed via serial port▪ Work through test cases for each

module on the board▪ Ensure that Auto Pilot is correctly

functioning▪ Integrate servos and Ground Control

communication▪ Put it on an airframe

Page 20: GauchoHawkyoga/capstone/media/gauchohawk... · 2019-12-12 · Pixhawk is an independent, open-hardware project aiming at providing high-end autopilot hardware and open-source flight

20

Questions?

Thank you to Dr. Isukapalli, Caio, and Phil Tokumaru for their patience and guidance.