Drone control: Difference between revisions

From Rsewiki
No edit summary
 
(46 intermediate revisions by the same user not shown)
Line 6: Line 6:


== Hardware ==
== Hardware ==
Build on a hand-wired PCB as a prototype
[[Drone control hardware]]
<!-- [[File:schematic_rev0.png | 150px]] -->


== Drone software ==
== Drone software ==


== Propeller - motor performance ==
[[Drone firmware]]


Measured with the app below, using the motor 3508-700KV Turnigy Multistar 14 Pole Brushless and a 14x5.5 carbon propeller.
== Magnetometer calibration ==
The ESC is a Hobby-wing x-rotor 40A controller.


=== Time responce ===
Calibration is used using a calibration version of firmware and a calibration app from Prop Shield manufacturer.


[[File:3508-700-14x5.5-11v.png]]
[[Drone compass calibration]]
With 11 V supply (3 lipo cells). From 1.1ms to the ESC (idle) to 1.9ms almost full throttle. The ESC update frequency is 400 Hz.


[[File:3508-700-14x5.5-15v.png]]
== ESC calibration ==
With 11 V supply (4 lipo cells). note that 30 amps is not sustainable, the motor gets hot fast.


The drone control uses ESC pulse width from 1 to 2 ms, and all ESCs should be calibrated to use this range.


== Motor test app ==
[[ESC calibration]]


[[File:motortest_gui.png | 600px]]
== Propeller - motor performance ==


== MATLAB simulation ==
[[Drone motor performance]]
[[File:3508-700-14x5.5-11v.png | 150px]]


[[File:drone_ctrl_simulink.png | 800px]]
== Motor test app ==


Simulink model of hexacopter.
[[Drone motor test app]]
[[File:motortest_gui.png | 120px]]


[[File:drone_ctrl_sim_hex.png | 600px]]
==Matlab simulation==


Sim mechanics simulated hex-drone hoovering.
[[Drone MATLAB simulation]]
[[File:drone_ctrl_sim_hex.png | 120px]]

Latest revision as of 10:49, 21 December 2020

Drone project

This project is intended to be a rather simple core drone stabilizer application based on Teensy and the prop shield.

Intended to be expanded with an outer control loop with a non-realtime sensor, e.g. GNSS, camera or laser scanner.

Hardware

Build on a hand-wired PCB as a prototype

Drone control hardware

Drone software

Drone firmware

Magnetometer calibration

Calibration is used using a calibration version of firmware and a calibration app from Prop Shield manufacturer.

Drone compass calibration

ESC calibration

The drone control uses ESC pulse width from 1 to 2 ms, and all ESCs should be calibrated to use this range.

ESC calibration

Propeller - motor performance

Drone motor performance

Motor test app

Drone motor test app

Matlab simulation

Drone MATLAB simulation