SlideShare une entreprise Scribd logo
1  sur  50
Télécharger pour lire hors ligne
Core Algorithms and
Hardware Design for
Quadcopters
Shipeng Xu
30 Jan 2015
!
GitHub.com/BillHsu
MiniQ
Size: 9cm x 9cm
github.com/billhsu/MiniQ
~1 year to build it
MiniQ - Demo Video
• Hardware
• Components!
• Schematic
• Propeller Installation
• Algorithm
• Sensor Fusion
• PID Controller
STM32!
(32bit ARM CPU)
Bluetooth SPP!
(Serial Port Profile)
JTAG
Motor !
+ Propeller
Barometric Pressure!
sensor
Accelerometer!
+Gyroscope
Magnetometer
Transistors
• Hardware
• Components
• Schematic!
• Propeller Installation
• Algorithm
• Sensor Fusion
• PID Controller
Micro Controller
Motor Control
SI2302,
N-Channel MOSFET
Power
ME6206
large currents with a significantly small dropout voltage
ME6206
voltage regulator
Sensors
MPU6050,
MEMS Gyro-Accel
Bluetooth SPP
• Hardware
• Components
• Schematic
• Propeller Installation!
• Algorithm
• Sensor Fusion
• PID Controller
Propeller rotation
Rotate
Move forward
Propeller installations
• Hardware
• Components
• Schematic
• Propeller Installation
• Algorithm!
• Sensor Fusion
• PID Controller
Attitude estimation Demo
• Android Sensors
• Sensor.TYPE_ACCELEROMETER
• Sensor.TYPE_GYROSCOPE
• Sensor.TYPE_ROTATION_VECTOR(Base line)
• WebSocket Client on browser side
• Receiving sensor data
• Render altitude with WebGL
Accelerometer
Gx
Gz
G
Accelerometer data: acclX, acclY, acclZ
Demo - Accelerometer
Noise :(
Gyroscope
• measuring angular velocity
Gyroscope data: gyroDataX, gyroDataY, gyroDataZ
integration
Demo - Gyroscope
Drifting :(
Attitude estimation
• Accelerometer
• Noise
• Gyroscope
• Drifting
• Hardware
• Components
• Schematic
• Propeller Installation
• Algorithm
• Sensor Fusion!
• PID Controller
Sensor Fusion
Sensor Fusion
Demo - Fusion
Rotation Vector Sensor
in Android
• services/sensorservice/Fusion.cpp
• Hardware
• Components
• Schematic
• Propeller Installation
• Algorithm
• Sensor Fusion
• PID Controller
Control rotor speed
Demo
• Cannon.js
• A physics engine written in JavaScript.
• WebGL
PID Controller
PID Controller
• Proportional(the present error)
• Thrust = Error * alpha;
• Integral(accumulation of past errors)
• integral = integral + error * dt;
• Derivative(prediction of future errors)
• derivative = (error - lastError) / dt;
PID Demo
PID Controller
Sum up
MiniQ
Real-time attitude data 3D attitude visualisation
Serialportselection
Quadcopter control
MiniQ
github.com/billhsu/AndroidAHRSView
Thanks:)
• GitHub.com/BillHsu/MiniQ
• Android Sensor Server
• GitHub.com/BillHsu/SensorServer
• WebGL demos:
• GitHub.com/BillHsu/GeekCamp2014/
• BillHsu.x@gmail.com

Contenu connexe

Tendances

DESIGN AND FABRICATION OF QUADCOPTER
DESIGN AND FABRICATION OF QUADCOPTERDESIGN AND FABRICATION OF QUADCOPTER
DESIGN AND FABRICATION OF QUADCOPTER
Prasanna Achanti
 
Quadrocopter
QuadrocopterQuadrocopter
Quadrocopter
beak90
 
Undergrad Research Presentations
Undergrad Research PresentationsUndergrad Research Presentations
Undergrad Research Presentations
George Kudyba
 
Unmanned air vehicle(quadrotor)
Unmanned air vehicle(quadrotor)Unmanned air vehicle(quadrotor)
Unmanned air vehicle(quadrotor)
PRADEEP Cheekatla
 

Tendances (20)

final presentation
final presentationfinal presentation
final presentation
 
DESIGN AND FABRICATION OF QUADCOPTER
DESIGN AND FABRICATION OF QUADCOPTERDESIGN AND FABRICATION OF QUADCOPTER
DESIGN AND FABRICATION OF QUADCOPTER
 
Quadcopter
QuadcopterQuadcopter
Quadcopter
 
quadcopter
quadcopterquadcopter
quadcopter
 
Quadrocopter
QuadrocopterQuadrocopter
Quadrocopter
 
Undergrad Research Presentations
Undergrad Research PresentationsUndergrad Research Presentations
Undergrad Research Presentations
 
QUAD COPTERS FULL PPT
QUAD COPTERS FULL PPTQUAD COPTERS FULL PPT
QUAD COPTERS FULL PPT
 
Qaudcopters
QaudcoptersQaudcopters
Qaudcopters
 
An introduction to drones: hardware, protocols and auto-pilot systems
An introduction to drones: hardware, protocols and auto-pilot systemsAn introduction to drones: hardware, protocols and auto-pilot systems
An introduction to drones: hardware, protocols and auto-pilot systems
 
Quadcopter ppt
Quadcopter pptQuadcopter ppt
Quadcopter ppt
 
Eagle Eye - BLDC Powered Quadcopter
Eagle Eye - BLDC Powered QuadcopterEagle Eye - BLDC Powered Quadcopter
Eagle Eye - BLDC Powered Quadcopter
 
Quadcopter
QuadcopterQuadcopter
Quadcopter
 
Bio-Medical Project
Bio-Medical ProjectBio-Medical Project
Bio-Medical Project
 
QUIN 4.0 - Smart Drone - Final Presentation
QUIN 4.0 - Smart Drone - Final PresentationQUIN 4.0 - Smart Drone - Final Presentation
QUIN 4.0 - Smart Drone - Final Presentation
 
IISC CPDM Task 1 Report
IISC CPDM Task 1 ReportIISC CPDM Task 1 Report
IISC CPDM Task 1 Report
 
Quadcopter
QuadcopterQuadcopter
Quadcopter
 
DREAM QUADCOPTER
DREAM QUADCOPTERDREAM QUADCOPTER
DREAM QUADCOPTER
 
Unmanned air vehicle(quadrotor)
Unmanned air vehicle(quadrotor)Unmanned air vehicle(quadrotor)
Unmanned air vehicle(quadrotor)
 
quadcopter
quadcopterquadcopter
quadcopter
 
Project seminar quadcopter
Project seminar quadcopterProject seminar quadcopter
Project seminar quadcopter
 

En vedette

Design of Control System for Humanoid Robot
Design of Control System for Humanoid RobotDesign of Control System for Humanoid Robot
Design of Control System for Humanoid Robot
Rohit Bhat
 
Industrial Control Systems - PID Controllers
Industrial Control Systems - PID ControllersIndustrial Control Systems - PID Controllers
Industrial Control Systems - PID Controllers
Behzad Samadi
 
Chapter 9 Design Via Root Locus
Chapter 9 Design Via Root LocusChapter 9 Design Via Root Locus
Chapter 9 Design Via Root Locus
guesta0c38c3
 
Controller ppt
Controller pptController ppt
Controller ppt
gourav0077
 
Thompson tchobanian ni_li)
Thompson tchobanian ni_li)Thompson tchobanian ni_li)
Thompson tchobanian ni_li)
trtrungviet
 
PID Controller
PID ControllerPID Controller
PID Controller
saishah72
 

En vedette (20)

Line Follower Robot
Line Follower RobotLine Follower Robot
Line Follower Robot
 
Design of Control System for Humanoid Robot
Design of Control System for Humanoid RobotDesign of Control System for Humanoid Robot
Design of Control System for Humanoid Robot
 
Quadcopter final report anand
Quadcopter final report anandQuadcopter final report anand
Quadcopter final report anand
 
Speed Controller for DC Motor
Speed Controller for DC MotorSpeed Controller for DC Motor
Speed Controller for DC Motor
 
Industrial Control Systems - PID Controllers
Industrial Control Systems - PID ControllersIndustrial Control Systems - PID Controllers
Industrial Control Systems - PID Controllers
 
Pid controller
Pid controllerPid controller
Pid controller
 
Chapter 9 Design Via Root Locus
Chapter 9 Design Via Root LocusChapter 9 Design Via Root Locus
Chapter 9 Design Via Root Locus
 
Pi Controller
Pi ControllerPi Controller
Pi Controller
 
Controller ppt
Controller pptController ppt
Controller ppt
 
Thompson tchobanian ni_li)
Thompson tchobanian ni_li)Thompson tchobanian ni_li)
Thompson tchobanian ni_li)
 
Design and Implementation of a Quadrotor Helicopter
Design and Implementation of a Quadrotor HelicopterDesign and Implementation of a Quadrotor Helicopter
Design and Implementation of a Quadrotor Helicopter
 
Week 14 pid may 24 2016 pe 3032
Week  14 pid  may 24 2016 pe 3032Week  14 pid  may 24 2016 pe 3032
Week 14 pid may 24 2016 pe 3032
 
Android + arduino = love @ Droidcon Bucharest 2012
Android + arduino = love @ Droidcon Bucharest 2012Android + arduino = love @ Droidcon Bucharest 2012
Android + arduino = love @ Droidcon Bucharest 2012
 
Control Systems Design- PID Tuning
Control Systems Design- PID TuningControl Systems Design- PID Tuning
Control Systems Design- PID Tuning
 
CodeRage XI international Conference: Arduino + Delphi Mobile Apps
CodeRage XI international Conference: Arduino + Delphi Mobile Apps CodeRage XI international Conference: Arduino + Delphi Mobile Apps
CodeRage XI international Conference: Arduino + Delphi Mobile Apps
 
PID Controller
PID ControllerPID Controller
PID Controller
 
PID Control
PID ControlPID Control
PID Control
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
 
Pid controllers
Pid controllersPid controllers
Pid controllers
 
Industrial process control
Industrial process controlIndustrial process control
Industrial process control
 

Similaire à Algorithms and hardware designs for quadcopters

Implementation of PID Controller PWM Module on FPGA
Implementation of PID Controller PWM Module on FPGAImplementation of PID Controller PWM Module on FPGA
Implementation of PID Controller PWM Module on FPGA
ijtsrd
 
“How Do We Enable Edge ML Everywhere? Data, Reliability and Silicon Flexibili...
“How Do We Enable Edge ML Everywhere? Data, Reliability and Silicon Flexibili...“How Do We Enable Edge ML Everywhere? Data, Reliability and Silicon Flexibili...
“How Do We Enable Edge ML Everywhere? Data, Reliability and Silicon Flexibili...
Edge AI and Vision Alliance
 
final project report_full edit
final project report_full editfinal project report_full edit
final project report_full edit
Sayam Roy
 

Similaire à Algorithms and hardware designs for quadcopters (20)

IoT support for .NET Core - IoT Saturday 2020
IoT support for .NET Core - IoT Saturday 2020IoT support for .NET Core - IoT Saturday 2020
IoT support for .NET Core - IoT Saturday 2020
 
IoT support for .NET Core
IoT support for .NET CoreIoT support for .NET Core
IoT support for .NET Core
 
Implementation of PID Controller PWM Module on FPGA
Implementation of PID Controller PWM Module on FPGAImplementation of PID Controller PWM Module on FPGA
Implementation of PID Controller PWM Module on FPGA
 
IoT support for .NET (Core/5/6)
IoT support for .NET (Core/5/6)IoT support for .NET (Core/5/6)
IoT support for .NET (Core/5/6)
 
resume
resumeresume
resume
 
Android Controlled Arduino Spy Robot
Android Controlled Arduino Spy RobotAndroid Controlled Arduino Spy Robot
Android Controlled Arduino Spy Robot
 
ATMAE 2016 Presentation
ATMAE 2016 PresentationATMAE 2016 Presentation
ATMAE 2016 Presentation
 
Es robotics
Es roboticsEs robotics
Es robotics
 
“How Do We Enable Edge ML Everywhere? Data, Reliability and Silicon Flexibili...
“How Do We Enable Edge ML Everywhere? Data, Reliability and Silicon Flexibili...“How Do We Enable Edge ML Everywhere? Data, Reliability and Silicon Flexibili...
“How Do We Enable Edge ML Everywhere? Data, Reliability and Silicon Flexibili...
 
Anand_Agrawal_CV.pdf
Anand_Agrawal_CV.pdfAnand_Agrawal_CV.pdf
Anand_Agrawal_CV.pdf
 
Smart oven 智慧烤箱
Smart oven 智慧烤箱Smart oven 智慧烤箱
Smart oven 智慧烤箱
 
Ball Segway Robot
Ball Segway RobotBall Segway Robot
Ball Segway Robot
 
Final year project io t climate system
Final year project io t climate systemFinal year project io t climate system
Final year project io t climate system
 
Gesture Controlled Robot
Gesture Controlled RobotGesture Controlled Robot
Gesture Controlled Robot
 
final project report_full edit
final project report_full editfinal project report_full edit
final project report_full edit
 
Embedded Systems Online Training | Imagine life
Embedded Systems Online Training | Imagine lifeEmbedded Systems Online Training | Imagine life
Embedded Systems Online Training | Imagine life
 
Advanced embedded training details & syllabus - Wiztech
Advanced embedded training details & syllabus - WiztechAdvanced embedded training details & syllabus - Wiztech
Advanced embedded training details & syllabus - Wiztech
 
Ardu sat (Arduino based satellite)
Ardu sat (Arduino based satellite)Ardu sat (Arduino based satellite)
Ardu sat (Arduino based satellite)
 
WIRELESS SURVILLANCE ROBOT
WIRELESS SURVILLANCE ROBOT WIRELESS SURVILLANCE ROBOT
WIRELESS SURVILLANCE ROBOT
 
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
 

Dernier

VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 

Dernier (20)

Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 

Algorithms and hardware designs for quadcopters