Drone control

From Rsewiki
(Difference between revisions)
Jump to: navigation, search
(Time responce)
(Hardware)
 
(44 intermediate revisions by one user not shown)
Line 7: Line 7:
 
== Hardware ==
 
== Hardware ==
  
== Drone software ==
+
Build on a hand-wired PCB as a prototype
  
== Propeller - motor performance ==
+
[[Drone control hardware]]
 +
<!-- [[File:schematic_rev0.png | 150px]] -->
  
Measured with the app below, using the motor 3508-700KV Turnigy Multistar 14 Pole Brushless and a 14x5.5 carbon propeller.
+
== Drone software ==
The ESC is a Hobby-wing x-rotor 40A controller.
+
  
=== Time responce ===
+
[[Drone firmware]]
  
[[File:3508-700-14x5.5-11v.png | 600px]]
+
== Magnetometer calibration ==
  
With 11 V supply (3 lipo cells).
+
Calibration is used using a calibration version of firmware and a calibration app from Prop Shield manufacturer.  
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 | 600px]]
+
[[Drone compass calibration]]
  
With 11 V supply (4 lipo cells). note that 30 amps is not sustainable, the motor gets hot fast.
+
== ESC calibration ==
  
== Motor test app ==
+
The drone control uses ESC pulse width from 1 to 2 ms, and all ESCs should be calibrated to use this range.
  
[[File:motortest_gui.png | 600px]]
+
[[ESC calibration]]
  
== MATLAB simulation ==
+
== Propeller - motor performance ==
  
[[File:drone_ctrl_simulink.png | 800px]]
+
[[Drone motor performance]]
 +
[[File:3508-700-14x5.5-11v.png | 150px]]
 +
 
 +
== 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 09: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.

Contents

[edit] Hardware

Build on a hand-wired PCB as a prototype

Drone control hardware

[edit] Drone software

Drone firmware

[edit] Magnetometer calibration

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

Drone compass calibration

[edit] 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

[edit] Propeller - motor performance

Drone motor performance 3508-700-14x5.5-11v.png

[edit] Motor test app

Drone motor test app Motortest gui.png

[edit] Matlab simulation

Drone MATLAB simulation Drone ctrl sim hex.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox