Quadcopter Drone Model in Simscape

Quadcopter with multibody, electrical and thermal models follows a path to deliver a package.

9.6K Downloads

Updated 4 Apr 2023

From GitHub

View License on GitHub

This example models a quadcopter that navigates a path to deliver a package.
  • Electric motors and battery enable estimation of current draw and drone range
  • CAD files of the chassis and propellers model the mechanical system
  • Cascaded PID controllers adjust motor speeds to control altitude and attitude
  • Path following and speed controllers provide high-level commands
  • Python queries to a weather database obtain location-specific wind conditions
  • Wind gust profiles test stability of drone controllers
  • Profitability analysis in a MATLAB App enables exploring technical and business tradeoffs
Use the links below to get files compatible with earlier releases of MATLAB.
Open the project file Quadcopter_Drone.prj to get started.
Quadcopter and Control System
Quadcopter Mechanical and Electrical Systems
Quadcopter Motors and Battery
To learn more about modeling and simulation with Simscape, please visit:
Product Capabilities:

Cite As

Steve Miller (2023). Quadcopter Drone Model in Simscape (https://github.com/bat365/Quadcopter-Drone-Model-Simscape/releases/tag/23.1.1.5), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with R2021a to R2023a
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Libraries

Models

Workflows/Thrust_Test

Workflows/Workshop/Ex_01_Motor

Workflows/Workshop/Ex_02_Motor_Sweep

Workflows/Workshop/Ex_03_Weather_Python

Workflows/Workshop/Ex_04_Wind_Test

Version Published Release Notes
23.1.1.5

See release notes for this release on GitHub: https://github.com/bat365/Quadcopter-Drone-Model-Simscape/releases/tag/23.1.1.5

22.2.1.5

See release notes for this release on GitHub: https://github.com/bat365/Quadcopter-Drone-Model-Simscape/releases/tag/22.2.1.5

22.1.1.5

See release notes for this release on GitHub: https://github.com/bat365/Quadcopter-Drone-Model-Simscape/releases/tag/22.1.1.5

22.1.1.4

See release notes for this release on GitHub: https://github.com/bat365/Quadcopter-Drone-Model-Simscape/releases/tag/22.1.1.4

21.2.1.5

See release notes for this release on GitHub: https://github.com/bat365/Quadcopter-Drone-Model-Simscape/releases/tag/21.2.1.5

21.2.1.3

See release notes for this release on GitHub: https://github.com/bat365/Quadcopter-Drone-Model-Simscape/releases/tag/21.2.1.3

21.2.1.2

See release notes for this release on GitHub: https://github.com/bat365/Quadcopter-Drone-Model-Simscape/releases/tag/21.2.1.2

21.2.1.1

See release notes for this release on GitHub: https://github.com/bat365/Quadcopter-Drone-Model-Simscape/releases/tag/21.2.1.1

21.2.1.0

See release notes for this release on GitHub: https://github.com/bat365/Quadcopter-Drone-Model-Simscape/releases/tag/21.2.1.0

21.1.1.3

See release notes for this release on GitHub: https://github.com/bat365/Quadcopter-Drone-Model-Simscape/releases/tag/21.1.1.3

1.0.0.0

Cleaned up folder structure
Adding Simscape Electronics as required product

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.