Stanford APM:Plane Overview

Slides:



Advertisements
Similar presentations
Welcome to Workshop 88’s Arduino 301: Control the World! Please have your Arduino, IDE, and breadboard fired up and ready to go. ver 1.0 2/2/14.
Advertisements

Lab7: Introduction to Arduino
RC Helicopter Mechanism 1 Sylvain Marron. 1: Mechanism Clutch Main Gear Tail Rotor Drive Swash Plate 2.
Servo Background Servos provide control of rotary position Servos are used extensively in the remote control hobby world for: Aircraft (flaps, ailerons,
A/C Generator Systems.
TEAM 9 - MRAV DESIGN CONSTRAINTS ANALYSIS by Nick Gentry.
Arduino Autonomous Robotics System
Outline quad-copter Abstract Quad-Copter Movement Hand movement
1 1 Permanent magnet (PM) DC motors Armature Permanent Magnets Brushes Commutator Coils.
Parth Kumar ME5643: Mechatronics UAV ATTITUDE AND HEADING HOLD SYSTEM.
Living with the Lab Using servos with an Arduino EAS 199A Fall 2011.
AA241x Spring 2015 Adrien Perkins H ARDWARE AND S OFTWARE O VERVIEW.
STARMAC The Stanford Testbed of Autonomous Rotorcraft for Multi-Agent Control Gabe Hoffmann, Haomiao Huang, Vijay Pradeep, Steven Waslander Aeronautics.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
BAE SYSTEMS PROPRIETARY – Internal Use Only Unpublished Work Copyright 2014 BAE Systems. All rights reserved. BAE Systems C2C SWAT Project Tutorial 1,
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Technical Data Electric engine, reduction belt and complete electronics only 5kg Paramotor weight without batteries: 12,5kg One-piece easy assemble (kit.
Colorado Space Grant Consortium Gateway To Space ASEN 1400 / ASTR 2500 Class #12 Gateway To Space ASEN 1400 / ASTR 2500 Class #12 T-58.
1 1 The Laddermill - Design, Building & Testing Bas Lansdorp Richard Ruiterkamp Background Kite control mechanism Groundstation Electronics Testing.
Quadcopters. History Also known as quadrotors First flying quadrotor: – 11 November 1922 – Etienne Oehmichen Image: blogger.com.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
 Model airplanes are sized down models of an aircraft  The calculations are easy and the importance is given to building of the plane.
SHANTILAL SHAH ENGINEERING COLLEGE ,BHAVNAGAR
ECE 477 Design Review Team 9  Spring 2011 Left-to-right: Oliver Staton, Vinayak Gokhale, Vineet Ahuja, Nick Gentry.
The New FTC Platform (Connecting your legacy hardware)
Introduction to the Arduino
Choosing the electronics for RC planes By Rachit Aggarwal.
Sérgio Ronaldo Barros dos Santos (ITA-Brazil)
AEM 5333 UAV Search and Surveillance. Mission Description Overhead surveillance and tracking – Humans on foot – Moving vehicles Onboard GPS transceiver.
Arduino 101 Instructors: Ted Markson / Jim Sweeney.
ECE 477 Design Review Team 01  Fall 2010 Jigar Gandhi Chandler Wall John-Taylor Smith Eric Zarowny.
Hardware Overview Autopilot Control Board- Serves as common platform for other components and has autopilot code and flight plans Battery- Powers the.
7.2 V battery pack and charger Put the battery in the charger station at the end of the lab. period. Red light indicates charging. Ken Youssefi Introduction.
Student Unmanned Aerial System FAMU/FSU College of Engineering Mechanical Engineering Department (1) Electrical and Computer Engineering Department (2)
BAE SYSTEMS PROPRIETARY – Internal Use Only Unpublished Work Copyright 2014 BAE Systems. All rights reserved. BAE Systems C2C SWAT Project - WF32 Shield.
Presented by:- Suman Kumar. INTRODUCTION : Quad-rotor helicopters are emerging as a popular unmanned aerial vehicle configuration because of their simple.
FUFO project Final report.
Getting Started With the Arduino Uno
So You Want to Fly an ELEV-8?
Pixhawk PX4 Flight Controller: Configuration for ELEV-8 V2
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
So You Want to Fly an ELEV-8? Pixhawk PX4 Flight Controller: Configuration for ELEV-8 V2 Slides by Noah Germolus and CJ Koshoil with Prof. James Flaten.
Codey Lozier Christian Thompson Advisor: Dr. Mohammad Saadeh
Aero Week 7 Robbie McNally. What I did... -Talked to Russo  Clarified DAS precision requirements -Submitted EcE department funding letter -Setup time.
By: Stuti Vyas( ) Drashti Sheth( ) Jay Vala( ) Internal Guide Mr. J. N. Patel.
INTRODUCTION TO ROBOTICS Part 3: Propulsion System Robotics and Automation Copyright © Texas Education Agency, All rights reserved. 1.
Mechanical Components and Programming Ken Youssefi Introduction to Engineering – E10 1.
1 Introduction to Haptics Introduction to the Hapkit board Allison M. Okamura Stanford University.
Presented by Robert Clark Instrument Technician
KNU RTLAB A Real-Time Linux System For Autonomous Navigation And Flight Attitude Control Of An Uninhabited Aerial Vehicle Charles E. Hall, Jr. Mechanical.
Basic setup of a naze32 and FPV Version 3.2. Agenda  Global wire layout  Calibration  Flight Controller alignment  Check motor ID and rotation direction.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
Quadroter Control System
Introduction to Motors, servos and steppers
Cloud Cap Technologies
Lucas Cox, Supreme Aryal EE587
Obstacle avoiding robot { pixel }
Controlling Servos with the Arduino
cyBorg 1.0 Project by Team ROBOTECH The Green PAFIANS
Introduction To Electronic Speed Control (ESC) Working and Applications
Arduino Development for Beginners
ACS UC Berkeley Space Sciences Laboratory
Arduino - Introduction
Arduino and Grove LET’S START.
EET2530 Unmanned Aerial Vehicles (UAVs)
UNIT 11: RC-SERVOMOTOR CONTROL
Introduction to Arduino
Arduino and Grove LET’S START.
Introduction to arduino
Drone Design Project Group Names.
Presentation transcript:

Stanford APM:Plane Overview Trent Lukaczyk April 7, 2014 AA241X – UAV Design and Build

Airframe Construction The Problem Fly Autonomously Airframe Construction State Estimation Algorithm Processing Control Actuation Ground Monitoring

The Components Autopilot Unit Wireless Telemetry Remote Control Radio GPS Radio Compass Magnetometer Airspeed Sensor Battery Monitor Servos, ESC, Motor

Autopilot Unit Auto Pilot Module (APM) ArduPilot Mega (APM) 2.6 Based on Arduino 16MHz Atmega2560 processor 16 MB dataflash memory ~ 2hours of logging (download often) Needs: to point forward to be securely attached accelerometer calibration if relocated

Wireless Telemetry Wireless Telemetry 915 MHz, 100mW Shares a “NetID” “MAVLink Protocol”

Wireless Telemetry USB Micro B DF13 6-Pin DF13 5-Pin USB A

Lift this lip gently with a screwdriver DF13 Connectors Lift this lip gently with a screwdriver Pain and a Half to use Easy to break But small, reconfigurable Be careful when disconnecting! Can shave these hooks off with a knife Can add hot glue at the wire-connector joint. Do not use super glue here.

Radio Control Setup RC Transmitter, 2.4 GHz “Binds” with Receiver Always carry the bind plug Four axes + mode switch Turn on first, before plane Autopilot Mode Switch

Radio Control 3pin Servo Wires x5

The order of these vary with receiver Radio Control Setup Autopilot Mode Switch The order of these vary with receiver

Servo Wires Mixing up signal and ground can fry electronics Look for markings like this -

GPS + Compass 1.57 GHz GPS radio Magnetometer 5Hz position update Needs clear sight of sky Magnetometer Provides heading estimate Needs to be clear of high-current electronics Needs: to point forward calibration if relocated

DF13 6pin GPS DF13 4pin MAG DF13 4pin DF13 5pin Remember to point GPS and APM forward

Airspeed Sensor Pitot tube measures difference in “Static” and “Total” pressure, which is related to airspeed. Airspeed is relative to wind will be higher or lower if you travel against or with the wind

Airspeed Sensor Silcone Tubing 3pin Servo Wire A1

Power Module Records current and voltage from battery Integrate for energy usage, and battery level Powers APM, Receiver, Radios, and Servos

Lithium Polymer Batteries 3.7 Volts per Cell Metrics: N-Cells (2S = 2 Cells = 7.4V) Capacity (C = 1100 mAh) Discharge Rate (25C = 27.5A) Charge Rate (2C = 2.2A) Can catch fire or leak during charging Always be present during charging Capacity loss or Bricking if over-discharged i.e. leaving plugged in over night

LiPo Discharge LiPo’s die suddenly around 3.4Volts/Cell Be ready to land around 3.5Volt/Cell traxxas.com Higher Current

Speed Controller Rated by Max Current and Max Voltage Direct Current Power in, Three-phase Alternating Current out “Opto” vs “BEC” BEC can power RC gear, Opto can’t

Brushless Outrunner Motor “Outrunner” - magnets rotate around stator Rated by kV = no load rpm/V High kV = fast rpm, low torque Low kV = low rpm, high torque Too much power melts windings, burns out motor

Power Electronics Setup DF13 6-Pin DC Power DC Power 3 Phase AC

Carbon Folding Props More rigid, more efficient, more expensive (vs plastic props) More dangerous – they are spinning knives Spinner cap lets them fold on landing, or if motor braking is on (more efficient glide)

Servos Drive Motor + Rotation Sensor + PID Control board … in 8-grams Forcing the control arms by hand wrecks gears www.twf8.ws

Servo Setup Elevator Rudder 3pin Servo Wires Ailerons Servo Wire “Y” Throttle

The Components Autopilot Unit Wireless Telemetry Remote Control Radio GPS Radio Compass Magnetometer Airspeed Sensor Battery Monitor Servos, ESC, Motor

Airframe Construction The Problem Fly Autonomously Airframe Construction State Estimation Algorithm Processing Control Actuation Ground Monitoring

Stanford_ArduPlane An easy embedded flight control software for Aerospace Engineers, based on ArduPlane ArduPlane code without the control law https://github.com/rbunge/Stanford_ArduPlane

Development Tools Download and install the ArduPilot Arduino IDE Download Libraries and place in the Arduino sketch folder Download Stanford ArduPlane

Building Open \Stanford_ArduPlane\ \Stanford_ArduPlane.ino with Arduino Check the board type (Mega 2560) and COM port “Verify” = compile “Upload” = compile and upload to APM

The Code Editable: Not Editable: AA241X_ControlLaw.ino AA241X_ControlLaw.h Not Editable: AA241X_Competition.h AA241X_aux.ino AA241X_aux.h Everything Else…

The Code State and Control Variables (AA241X_aux.h) Roll, pitch, yaw angles and rates Inertial velocity and accelerations Heading Airspeed GPS X-Y positions GPS and Barometric Altitudes Battery Consumption RC Inputs, Servo + Throttle Outputs

The Control Loops AA241X_ControlLaw.ino AA241X_AUTO_FastLoop(void){} Executes @ ~50Hz AA241X_AUTO_MediumLoop(void){} Executes @ ~10 Hz AA241X_AUTO_SlowLoop(void){} Executes @ ~3.3 Hz Distribute algorithm to use CPU cycles wisely Beware of APM Memory limits 256k Flash Program Memory, 8K SRAM, 4K EEPROM

The Camera Function AA241X_aux.h // Camera functions ///////////////////////// Function takeASnapShot()//// Example:// snapshot mySnapShot = takeASnapshot();//// mySnapShot.pictureTaken: range 0 or 1, indicates whether or not the picture was taken. 0 if not enough time between successive pictures, or if no GPS lock, or of energy cap reached, or out of altitude bounds// mySnapShot.timeOfPicture;// mySnapShot.personsInPicture: array of length 3 with values 0 or 1, indicating which persons were in the picture. personsInPicture[i] == 1 meanse person i was in the picture// mySnapShot.centerOfPictureX: X position of the center of the picture, in NED coordinates // mySnapShot.centerOfPictureY: Y position of the center of the picture, in NED coordinates// mySnapShot.diameterOfPicture: indicates the diameter of area covered by the picture // mySnapShot.centerOfPersonEstimateX[i]: X position in NED coordinates of the center of the circular area within which the i-th person is located. // mySnapShot.centerOfPersonEstimateY[i]: Y position in NED coordinates of the center of the circular area within which the i-th person is located.// mySnapShot.diameterOfPersonEstimate[i]: diameter of the circular area within which the i-th person is located.

Telemetry Plotting Two types of logs Telemetry log Dataflash log store at higher log-rates Download from APM over USB Cable Mission Planner can dump matlab data files

Airframe Construction The Problem Fly Autonomously Airframe Construction State Estimation Algorithm Processing Control Actuation Ground Monitoring

Resources FliteTest: youtube channel DIY Drones: forum RC groups: forum GrabCAD: community CAD models 3DRobotics: Store and Manuals GitHub: Stanford_ArduPlane Code